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.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




3033 posts

Uber Geek
+1 received by user: 215

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



3033 posts

Uber Geek
+1 received by user: 215

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!





20063 posts

Uber Geek
+1 received by user: 1667

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

20063 posts

Uber Geek
+1 received by user: 1667

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:

Netflix officialy launching in NZ in March
Created by jarj, last reply by tdgeek on 21-Nov-2014 19:08 (97 replies)
Pages... 5 6 7


Gull Employment Dispute.
Created by networkn, last reply by richms on 23-Nov-2014 23:05 (71 replies)
Pages... 3 4 5


Which one is right for me? M8, Z3, S5 or other?
Created by makiomoto, last reply by makiomoto on 20-Nov-2014 13:52 (40 replies)
Pages... 2 3


Free 1gb data with $19 combo until end of Jan 2015 (1.5gb total)
Created by eXDee, last reply by Shoes2468 on 23-Nov-2014 23:01 (16 replies)
Pages... 2


Slingshot line speed
Created by Frankiej45, last reply by Frankiej45 on 20-Nov-2014 14:38 (14 replies)

Little Wins labour Leadership
Created by MikeAqua, last reply by Aredwood on 21-Nov-2014 18:47 (53 replies)
Pages... 2 3 4


Orcon: Why did you cancel my email account without telling me??
Created by old3eyes, last reply by old3eyes on 21-Nov-2014 17:03 (13 replies)

My connection is too fast
Created by ckc, last reply by Geektastic on 20-Nov-2014 11:30 (25 replies)
Pages... 2



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.