SUGGESTIONS change ip address on outbound

Asher

Member
Joined
Jan 29, 2014
Messages
89
Reaction score
14
I'm trying to move from a BCM400 to PIAF. I have a SIP trunk supplied by Allstream. it interfaces to the BCM via a Sangoma Vega100 box. When I make an outbound call from the BCM, the Vega connects to alltream passing <sip:[email protected]>

OIAF passes <sip:[email protected]> and the call is rejected. Inbound to PIAF works fine. Where can I go to change the <sip:> string.
 
Call logs are definitely needed here, and potentially SIP debug too. Start with sanitizing asterisk -vvvr when placing a call that doesn't work, and posting it here.
 
-- Executing [4165551212@from-internal:3] GotoIf("SIP/2610-000000ce", "1?notblind") in new stack
-- Goto (from-internal,4165551212,6)
-- Executing [4165551212@from-internal:6] GotoIf("SIP/2610-000000ce", "1?restrictedroute-c4ca4238a0b923820dcc509a6f75849b,4165551212,2:outbound-allroutes,4165551212,2") in new stack
-- Goto (restrictedroute-c4ca4238a0b923820dcc509a6f75849b,4165551212,2)
-- Executing [4165551212@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:2] Gosub("SIP/2610-000000ce", "sub-record-check,s,1(out,4165551212,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/2610-000000ce", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/2610-000000ce", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/2610-000000ce", "NOW=1446311249") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/2610-000000ce", "__DAY=31") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/2610-000000ce", "__MONTH=10") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/2610-000000ce", "__YEAR=2015") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/2610-000000ce", "__TIMESTR=20151031-130729") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/2610-000000ce", "__FROMEXTEN=2610") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/2610-000000ce", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/2610-000000ce", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/2610-000000ce", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/2610-000000ce", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/2610-000000ce", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/2610-000000ce", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/2610-000000ce", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/2610-000000ce", "Outbound Recording Check from 2610 to 4165551212") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/2610-000000ce", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/2610-000000ce", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("SIP/2610-000000ce", "recordcheck,1(dontcare,out,4165551212)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/2610-000000ce", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/2610-000000ce", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/2610-000000ce", "") in new stack
-- Executing [out@sub-record-check:8] Return("SIP/2610-000000ce", "") in new stack
-- Executing [4165551212@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:3] ExecIf("SIP/2610-000000ce", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [4165551212@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:4] Set("SIP/2610-000000ce", "MOHCLASS=default") in new stack
-- Executing [4165551212@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:5] Set("SIP/2610-000000ce", "_NODEST=") in new stack
-- Executing [4165551212@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:6] Macro("SIP/2610-000000ce", "dialout-
runk,3,4165551212,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2610-000000ce", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2610-000000ce", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2610-000000ce", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2610-000000ce", "DIAL_NUMBER=4165551212") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2610-000000ce", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2610-000000ce", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2610-000000ce", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2610-000000ce", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/2610-000000ce", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/2610-000000ce", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2610-000000ce", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2610-000000ce", "0?Set(REALCALLERIDNUM=2610)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2610-000000ce", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/2610-000000ce", "USEROUTCID=" User"<9059272710>") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/2610-000000ce", "EMERGENCYCID=") in new stack

-- Executing [s@macro-outbound-callerid:8] Set("SIP/2610-000000ce", "TRUNKOUTCID=" Haulage"<9058873680>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2610-000000ce", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2610-000000ce", "1?Set(CALLERID(all)=" Haulage"<9058873680>)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2610-000000ce", "1?Set(CALLERID(all)=" User"<9059272710>)") in new
tack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/2610-000000ce", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/2610-000000ce", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/2610-000000ce", "CDR(outbound_cnum)=9059272710") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/2610-000000ce", "CDR(outbound_cnam)= User") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/2610-000000ce", "0?sub-flp-3,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2610-000000ce", "OUTNUM=4165551212") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2610-000000ce", "custom=SIP/Allstream") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2610-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2610-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/2610-000000ce", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2610-000000ce", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2610-000000ce", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/2610-000000ce", "1?Set(CONNECTEDLINE(num,i)=4165551212)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/2610-000000ce", "1?Set(CONNECTEDLINE(name,i)=CID:9059272710)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/2610-000000ce", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/2610-000000ce", "SIP/Allstream/4165551212,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/Allstream/4165551212
[2015-10-31 13:07:29] WARNING[1662][C-000000b5]: chan_sip.c:23168 handle_response_invite: Received response: "Forbidden" from '" User" <sip:[email protected]>;tag=as2b2ee0f9'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/2610-000000ce", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
 
I know there is a registration string that works with Allstream. I have someone looking for it, but if anybody else has an idea i'd appreciate.

I run into 2 issues. One is that we have the trunk through a 3rd party, so i can't call Allstream support directly, and 2 it would have to be done during the day, and that would be way too disruptive to the business.
 
Update. Went live yesterday as inbound was working. Outbounding through voip.ms for now. Finally got a hold of Allstream support. Their registration is through IP Address. Turns out, they have been validating us using the private IP of our old SIP-to-PRI converter!!!

They are now looking at changing that to validate using our public IP. Duh...
 
Are you sure you trust a provider that accepts a privateIP to auth???
 
No choice now, in the middle of a contract signed by my predecessor. But I've used them before and they authenticated to public. This was a mistake with their provisioning.
 
Heard back from Allstream. Using the public IP is not a repair item, it's a MACD. Because *shudder* authenticating to the private IP was specifically requested in the original order.
WTF!!!
 
Heard back again. Looks like the original change was requested to fix a call quality issue. Going from public to private fixed it. For the life of me, I can't see how going from [email protected] to [email protected] can make a difference.
 

Members online

Forum statistics

Threads
26,687
Messages
174,411
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