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.



3015 posts

Uber Geek
+1 received by user: 196

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



3015 posts

Uber Geek
+1 received by user: 196

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!





19775 posts

Uber Geek
+1 received by user: 1515

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

19775 posts

Uber Geek
+1 received by user: 1515

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:





Trending now »

Hot discussions in our forums right now:

How stable are snap IP addresses?
Created by Physn, last reply by timmmay on 23-Oct-2014 10:38 (19 replies)
Pages... 2


Who Audits IRD?
Created by gundar, last reply by charsleysa on 22-Oct-2014 15:52 (18 replies)
Pages... 2


Spark Socialiser
Created by freitasm, last reply by freitasm on 22-Oct-2014 18:39 (34 replies)
Pages... 2 3


American legal jurisdiction in New Zealand
Created by ajobbins, last reply by gzt on 21-Oct-2014 14:58 (30 replies)
Pages... 2


Another Trade Me competitor: SellShed
Created by freitasm, last reply by SellShed on 22-Oct-2014 11:54 (42 replies)
Pages... 2 3


iPad Air 2 and iPad Mini 3. Gonna get one?
Created by Dingbatt, last reply by Paul1977 on 23-Oct-2014 10:39 (85 replies)
Pages... 4 5 6


Theif taunts 12 year old via stolen laptop
Created by macuser, last reply by charsleysa on 22-Oct-2014 23:49 (12 replies)

Snap have failed our company!
Created by dafman, last reply by sbiddle on 23-Oct-2014 11:23 (35 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.