PIAF-Silver with Sangoma

atlpbxguy

New Member
Joined
Oct 30, 2010
Messages
30
Reaction score
0
I am having one heck of a time with a new install. I just blew away purple because some wierd issues I was having with nortel phones remote.

I have a sangoma a200 connected to a couple ooma lines.

I have manually installed the sangoma driver
http://wiki.sangoma.com/wanpipe-linux-drivers#latest

This installed and it sees the hardware. I have tried both 32 and 64 bit OS.

When I call out I get all-circuits-busy-now&pls-try-call-later| noanswer

when I call in on either line it works fine.

from this log after the call it is almost like the server is trying to reach the phone back ont he external ip

<--- SIP read from 10.5.4.117:5060 --->
SIP/2.0 200 OK
From: "Unknown"<sip:[email protected]>;tag=as4ce686c2
To: <sip:200@"External IP":59262>;tag=3805f0-7504050a-13c4-50022-e68-3641de0b-e68
Call-ID: [email protected]
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 10.5.2.5:5060;rport=5060;branch=z9hG4bK42fe1895
Supported: timer,replaces,join
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
User-Agent: LG-Nortel LVP2890 (0.1.92S.0213)
Content-Type: application/sdp
Content-Length: 641

v=0
o=LGN_IP_PHONE 0 0 IN IP4 "External IP"
s=SIP Call
c=IN IP4 "External IP"
t=0 0
m=audio 23000 RTP/AVP 0 8 18 4 95 101
c=IN IP4 "External IP"
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=rtpmap:95 AMR/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 24000 RTP/AVP 34 98 102
c=IN IP4 "External IP"
b=TIAS:186000
b=AS:250
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1
a=rtpmap:98 H264/90000
a=rtpmap:102 H264/90000
a=fmtp:98 packetization-mode=0
a=fmtp:102 packetization-mode=1
a=framerate:15.0
a=maxprate:15.0
a=sendrecv



Here is the full log of the outbound call

Connected to Asterisk 1.4.39.2 currently running on phone (pid = 4371)
Verbosity is at least 5
-- Executing [6785551212@from-internal:1] Macro("SIP/200-00000006", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/200-00000006", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-00000006", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-00000006", "1|Set|REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/200-00000006", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/200-00000006", "AMPUSERCIDNAME=Office") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-00000006", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/200-00000006", "AMPUSERCID=200") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/200-00000006", "CALLERID(all)="Office" <200>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/200-00000006", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/200-00000006", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/200-00000006", "CALLERID(number)=200") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/200-00000006", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/200-00000006", "Using CallerID "Office" <200>") in new stack
-- Executing [6785551212@from-internal:2] Set("SIP/200-00000006", "_NODEST=") in new stack
-- Executing [6785551212@from-internal:3] Macro("SIP/200-00000006", "record-enable|200|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/200-00000006", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/200-00000006", "recordingcheck|20110223-034623|1298450783.8") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110223-034623|1298450783.8: Outbound recording enabled.
recordingcheck|20110223-034623|1298450783.8: CALLFILENAME=OUT200-20110223-034623-1298450783.8
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/200-00000006", "OUT200-20110223-034623-1298450783.8.wav||") in new stack
-- Executing [6785551212@from-internal:4] Macro("SIP/200-00000006", "dialout-trunk|2|6785551212||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/200-00000006", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/200-00000006", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/200-00000006", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/200-00000006", "DIAL_NUMBER=6785551212") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/200-00000006", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/200-00000006", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/200-00000006", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/200-00000006", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/200-00000006", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/200-00000006", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/200-00000006", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/200-00000006", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/200-00000006", "0|Set|REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/200-00000006", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/200-00000006", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/200-00000006", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/200-00000006", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/200-00000006", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/200-00000006", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/200-00000006", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/200-00000006", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/200-00000006", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== Begin MixMonitor Recording SIP/200-00000006
> fixlocalprefix: Using pattern .
== fixlocalprefix: Dialpattern . matched. 6785551212 -> 6785551212
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/200-00000006", "OUTNUM=6785551212") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/200-00000006", "custom=ZAP/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/200-00000006", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/200-00000006", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/200-00000006", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/200-00000006", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/200-00000006", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/200-00000006", "ZAP/g0/6785551212|300|") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/200-00000006", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/200-00000006", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/200-00000006", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 66) - failing through to other trunks") in new stack
-- Executing [6785551212@from-internal:5] Macro("SIP/200-00000006", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] GotoIf("SIP/200-00000006", "0?emergency|1") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/200-00000006", "0?intracompany|1") in new stack
-- Executing [s@macro-outisbusy:3] Playback("SIP/200-00000006", "all-circuits-busy-now&pls-try-call-later| noanswer") in new stack
-- <SIP/200-00000006> Playing 'all-circuits-busy-now' (language 'en')
phone*CLI>
Disconnected from Asterisk server
 
I had not. I blew away the system out of frustration and went back to trixbox ce. Now looking it seems they enter this command by default so it works out of the box. strange...

thanks for the help. Maybe I will try and go back as I do not like the strictness of trixbox, but for production envir it seems very stable.
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top