TIPS BAD VALUE CALLER ID

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
System summary;

PIAF Installed Version = 2.0.6.4 under *HARDWARE*
FreePBX Version = 2.8.1.4
Running Asterisk Version = 1.8.22.0
Asterisk Source Version = 1.8.22.0
Dahdi Source Version = 2.6.2
Libpri Source Version = 1.4.12
IP Address = 192.168.14.53 on eth0
Operating System = CentOS release 6.4 (Final) <>
Kernel Version = 2.6.32-358.2.1.el6.i686 - 32 Bit

I have a private SIP trunk where i need to send the 10 Digit phone number so my carrier can "authenticate" and be able to placede the call.

At this moment im sending "bad value" as a caller ID but on my freepbx administration is setup to send the 10 digit phone number.

http://cl.ly/image/3j1F3B1A0P0a

ANY IDEAS GUYS????


Executing [s@macro-outbound-callerid:6] Set("SIP/5000-00000603", "USEROUTCID=<bad value>") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/5000-00000603", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/5000-00000603", "TRUNKOUTCID=6646220013") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/5000-00000603", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/5000-00000603", "1?Set(CALLERID(all)=6646220013)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/5000-00000603", "1?Set(CALLERID(all)=<bad value>)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/5000-00000603", "0?Set(CALLERID(all)=)") in new stack
 
Joined
May 22, 2013
Messages
50
Reaction score
5
Try setting CID on your outbound routes page rather than in the trunk.
 

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
i have already did it and i have the same issue.. i Dont know if on a lower level i can overwrite this any ideas?? or any other wey to overwrite globally the CID?
 

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
I already did that and go the same issue, any other ideas how can i overwrite globally the CID, may be on config file??
 
Joined
May 22, 2013
Messages
50
Reaction score
5
Who is your carrier? Did you contact them about what they expect the CID value to be?
 

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
yes, they expect 6646220013 to authenticate, the call against the proxy, but they seeing " Bad Value" instead if the number. Check this log i send the number next is the "bad value" message.

Executing [s@macro-outbound-callerid:6] Set("SIP/5000-00000603", "USEROUTCID=<bad value>") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/5000-00000603", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/5000-00000603", "TRUNKOUTCID=6646220013") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/5000-00000603", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/5000-00000603", "1?Set(CALLERID(all)=6646220013)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/5000-00000603", "1?Set(CALLERID(all)=<bad value>)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/5000-00000603", "0?Set(CALLERID(all)=)") in new stack
 

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
im also getting this on /var/log/asterisk/full

[2013-06-11 15:14:45] WARNING[1847] chan_sip.c: Received response: "Forbidden" from '"badvalue" <sip:[email protected]>;tag=as4e9476e4'
 
Joined
May 22, 2013
Messages
50
Reaction score
5
Why are you setting the caller ID in the PEER Details settings? FreePBX/PiaF sets that value in the "Route Settings"

freepbx.png
 

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
i tried in both places, SIP Trunk settings and Outbound Routes. and is the same thing...
 

randy7376

Defnyddiwr Gweithredol
Joined
Sep 29, 2010
Messages
865
Reaction score
144
If you haven't already, you can try fromuser=<10-digit-number> in your Trunks -> Outgoing Setings - Peer Details.
 

goblin

Member
Joined
Feb 1, 2011
Messages
76
Reaction score
0
Thanks Randy, this resolved my issue. :) the important part is that outbound calls are working. But i still have the bad value thing.. i will Digg in to see what is happening.. :2guns:
 

jeffmac

Guru
Joined
Jan 16, 2008
Messages
230
Reaction score
9
I have no experience with your issues (Remember - experience is what you get when you don't get what you expected. ie: problem solving!) but doesn't "sendrpid=" and or "trustrpid=" have a bearing on whether the callerid is sent?

Jeff
 

Members online

No members online now.

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
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.
Top