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.



2861 posts

Uber Geek
+1 received by user: 131

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
3551 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






3551 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



2861 posts

Uber Geek
+1 received by user: 131

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!





18541 posts

Uber Geek
+1 received by user: 729

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.


3551 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

18541 posts

Uber Geek
+1 received by user: 729

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 new jobs are posted to our jobs board:



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:

Forms of government for New Zealand
Created by charsleysa, last reply by Geektastic on 20-Apr-2014 15:40 (118 replies)
Pages... 6 7 8


MH370 - Call for Search & Rescue Help
Created by DS248, last reply by Sideface on 17-Apr-2014 17:28 (735 replies)
Pages... 47 48 49


why does the tax payer have to pay for the prince and princess' 6 star holiday?
Created by joker97, last reply by Geektastic on 17-Apr-2014 15:49 (67 replies)
Pages... 3 4 5


galaxy s4 now on 4.4.2
Created by nzrock, last reply by jeffnz on 20-Apr-2014 14:10 (59 replies)
Pages... 2 3 4


Whats the best wife friendly media centre?
Created by amorpeth, last reply by jonolynn on 19-Apr-2014 20:20 (14 replies)

Snap suffering Trans-Tasman congestion 18/04?
Created by Lias, last reply by NonprayingMantis on 19-Apr-2014 00:05 (26 replies)
Pages... 2


Help ! Home business connection and VDSL dead. yikes.
Created by Scotsman, last reply by Scotsman on 17-Apr-2014 21:10 (26 replies)
Pages... 2


TVNZ on Demand Jailbreak Detection
Created by TranceManNZ, last reply by hio77 on 18-Apr-2014 20:25 (12 replies)


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.