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.



2367 posts

Uber Geek

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
3442 posts

Uber Geek

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

WxC          XNet      

198 posts

Master Geek

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






3442 posts

Uber Geek

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: a1@pan.wxnz.net: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

WxC          XNet      



2367 posts

Uber Geek

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!





16700 posts

Uber Geek

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.





*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post

3442 posts

Uber Geek

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

WxC          XNet      

16700 posts

Uber Geek

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!







*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post

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:

A reason not to shop at dick smith
Created by dsnz1, last reply by AKLWestie on 17-May-2013 22:45 (82 replies)
Pages... 4 5 6


A new project coming to Geekzone
Created by freitasm, last reply by gundar on 20-May-2013 10:53 (209 replies)
Pages... 12 13 14


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by shevc on 20-May-2013 10:46 (1449 replies)
Pages... 95 96 97


Sitting on a boring conference call
Created by SaltyNZ, last reply by SepticSceptic on 17-May-2013 16:52 (14 replies)

Samsung Galaxy SIII Discussion and Owners Thread
Created by networkn, last reply by Johnk on 19-May-2013 16:32 (5523 replies)
Pages... 367 368 369


any cyclists on the forum? (question about parts suppliers...)
Created by Lykho, last reply by Lykho on 20-May-2013 10:16 (11 replies)

Track my Phone, Car, how to best do it in .nz?
Created by DonGould, last reply by DonGould on 20-May-2013 09:34 (18 replies)
Pages... 2


Chorus is cutting the cost of VDSL to service providers from June 7
Created by maxzzz, last reply by Zeon on 19-May-2013 19:40 (46 replies)
Pages... 2 3 4



Geekzone Jobs »
Most recent NZ jobs in technology:

Product Manager - IT
Posted 20-May-2013 11:27

Quotations/Customer Services - IT - North Shore
Posted 20-May-2013 11:27

Senior Infrastructure Consultant / Engineer
Posted 20-May-2013 11:27

Contract Snr Java Developers - $650-700 per day
Posted 20-May-2013 11:27

Senior Unity Game Engine Developer Required
Posted 20-May-2013 11:27

Coldfusion Developer
Posted 20-May-2013 11:27

Software Tester - $75-85k - Ellerslie
Posted 20-May-2013 11:27


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.