Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



2942 posts

Uber Geek
+1 received by user: 154

Trusted
Subscriber

Topic # 99905 29-Mar-2012 14:02 Send private message

Hey guys,
I have one phone which for some reason isn't working right. It's a Cisco 7940 flashed with SIP firmware connecting into a relatively new PBX in a flash server. The PBX supports 4 phones with them all being remote, 3 in one location and one in another all using Vodafone DSL (red network). One office has a Am300 not sure about the other (where we are having problems).

103/103 118.92.62.XX D N A 5060 OK (119 ms)


Anyway what is happening is the phone is registered but when I press the button in the IVR to call it I get the WxC messaeg "the number you have dialed is not in service". That message then cuts off I don't hear anything for a bit and the call gets sent to asterisk voicemail as per the ring group rule. I'm guessing Asterisk is not calling the extension properly, any ideas? The bit below in bold is the funny part


-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/ a1@from-internal-fe51;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/ a1@from-internal-fe51;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/ a1@from-internal-fe51;2", "SIP/VFX/ a1,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/VFX/ a1
-- SIP/VFX-0000000e is making progress passing it to Local/ a1@from-internal-fe51;2
-- Local/ a1@from-internal-fe51;1 is making progress passing it to SIP/VFX-0000000c
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/VFX-0000000c' in macro 'dial'
== Spawn extension (ext-group, 600, 22) exited non-zero on 'SIP/VFX-0000000c'
-- Executing [h@ext-group:1] Macro("SIP/VFX-0000000c", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/VFX-0000000c", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/VFX-0000000c", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:5] NoOp("SIP/VFX-0000000c", "Cleaning Up Block VM Flag: BLKVM/600/SIP/VFX-0000000c") in new stack
-- Executing [s@macro-hangupcall:6] NoOp("SIP/VFX-0000000c", "Deleting: BLKVM/600/SIP/VFX-0000000c TRUE") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/VFX-0000000c", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/VFX-0000000c", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/VFX-0000000c' in macro 'hangupcall'
== Spawn extension (ext-group, h, 1) exited non-zero on 'SIP/VFX-0000000c'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/ a1@from-internal-fe51;2' in macro 'dialout-trunk'
== Spawn extension (from-internal, a1, 6) exited non-zero on 'Local/ a1@from-internal-fe51;2'
-- Executing [h@from-internal:1] Macro("Local/ a1@from-internal-fe51;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/ a1@from-internal-fe51;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/ a1@from-internal-fe51;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/ a1@from-internal-fe51;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/ a1@from-internal-fe51;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/ a1@from-internal-fe51;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/ a1@from-internal-fe51;2'
-- Got SIP response 400 "Bad Request - Invalid Request URI: CANCEL sip: SIP/2.0" back from 58.28.20.150:5060
 





Create new topic
3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 601961 29-Mar-2012 15:13 Send private message

Should be easy to track down, the 400 bad request is a bit of a giveaway, make the call again and send me the details , ie time of call and numbers involved etc and we will take a look for you,




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

204 posts

Master Geek
+1 received by user: 1

Trusted
WorldxChange

  Reply # 602012 29-Mar-2012 16:19 Send private message

I would try and trace the SIP message to see if you are getting a response from the remote phone, do you have ngrep or tcpdump that you can use from the PBX?

ngrep -d eth0 port 5060 and host IPOFHOST

or

tcpdump -nq -s 0 -A -vvv -i eth0 port 5060 and host IPOFHOST

either of those commands should do the trick.

Cheers

Josh






3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 602044 29-Mar-2012 16:58 Send private message

A bit late my old friend Josh, problem solved ages ago Tongue Out

reason was a call forward on the extension to an invalid number

From: "Coxxxxo Level" ;tag=sip:953xxxx06
To: [email protected]:5060
Diversion: "Yxxxxa Kxxt" ;reason=unconditional




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications



2942 posts

Uber Geek
+1 received by user: 154

Trusted
Subscriber

  Reply # 602050 29-Mar-2012 17:13 Send private message

Thanks guys. From memory I had this problem years ago with a call forward on the phone mucking things up. Damn users!





19267 posts

Uber Geek
+1 received by user: 1142

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 602088 29-Mar-2012 18:30 Send private message

Bit late I guess, but the dead giveaway were these lines

Local/ a1@from-internal-fe51;2", "SIP/VFX/ a1,300,")

Called SIP/VFX/ a1

This is your PBX trying to call "a1" using your VFX trunk.


3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 602115 29-Mar-2012 19:30 Send private message

Sorry Mr Biddle your day job getting in the way is it ... :)




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

19267 posts

Uber Geek
+1 received by user: 1142

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 602116 29-Mar-2012 19:32 Send private message

maverick: Sorry Mr Biddle your day job getting in the way is it ... :)


Yip. Damn day job!




Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Does acupuncture work?
Created by timmmay, last reply by geekiegeek on 30-Jul-2014 13:48 (27 replies)
Pages... 2


Logitech K400r HTPC Cordless Keyboard Half Price
Created by Dynamic, last reply by Blanch on 28-Jul-2014 22:16 (25 replies)
Pages... 2


2010 Honda Jazz, Suzuki Swift - which has higher maintenance cost?
Created by joker97, last reply by joker97 on 30-Jul-2014 17:40 (65 replies)
Pages... 3 4 5


Checking UHF aerial is working
Created by OnceBitten, last reply by B1GGLZ on 28-Jul-2014 21:49 (21 replies)
Pages... 2


2 x PS4s to give away. Geekzone members only.
Created by BigPipeNZ, last reply by dineshnaik on 30-Jul-2014 18:18 (58 replies)
Pages... 2 3 4


VF, why you lie to me?
Created by kenkeniff, last reply by johnr on 30-Jul-2014 12:27 (54 replies)
Pages... 2 3 4


Hierarchy of a mistake: Gerry Brownlee
Created by joker97, last reply by DonGould on 29-Jul-2014 21:57 (93 replies)
Pages... 5 6 7


"keyless" keys - questions
Created by joker97, last reply by joker97 on 30-Jul-2014 10:39 (34 replies)
Pages... 2 3



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.