Outgoing caller id not being sent

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Outgoing caller id not being sent

Postby personalt » Thu Dec 10, 2015 4:36 pm

have set up a new flowroute trunk but the caller id is not being sent to the receipient when I make outoing calls. I see 'restriced' with no number when I call my cell. I have a ticket in to flow route to see if the are getting an outgoing number from me but was wondering if I can tell from the logs if asterisk thinks I am even sending it to them an outgoing caller id. Which variable indicates the caller id that is sent?

201-780-1111 is the number I am callingZ
5407751111 is the number I want to appear on caller id.

It does look like TRUCKOUTCID is set but I am not sure which variable is actually that they would look at. I do some other variables that are in this block that are not set the phone number. Does it look like I am setting the outgoing caller ID properly?

<CODE>
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Goto (macro-outbound-callerid,s,7)
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/704-00000000", "USEROUTCID=") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/704-00000000", "EMERGENCYCID=rich") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:9] Set("SIP/704-00000000", "TRUNKOUTCID=5407751111") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/704-00000000", "0?trunkcid") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:11] Set("SIP/704-00000000", "CALLERID(all)=rich") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:12] Set("SIP/704-00000000", "CDR(outbound_cnum)=") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:13] Set("SIP/704-00000000", "CDR(outbound_cnam)=rich") in new stack
[2015-12-10 21:34:14] VERBOSE[6961][C-00000000] pbx.c: -- Executing [s@macro-outbound-callerid:14] MacroExit("SIP/704-00000000", "") in new stack
</CODE>
personalt
Newsterisk
 
Posts: 2
Joined: Thu Dec 10, 2015 4:33 pm

Re: Outgoing caller id not being sent

Postby david55 » Fri Dec 11, 2015 7:20 am

This appears to be a problem with a GUI dialplan. The only GUI currently supported is FreePBX, for which you use use http://community.freepbx.org/

If this is your own dialplan, please provide the source, particularly the code that uses ${TRUNKOUTCID} to set the CDR number.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Outgoing caller id not being sent

Postby _alx_ » Fri Dec 11, 2015 8:29 am

You have setup an emergency cid for the specific extension. This emergency cid overrides the trunk cid that you have in your trunk.
_alx_
Oldsterisk
 
Posts: 57
Joined: Fri Oct 16, 2015 1:48 am

Re: Outgoing caller id not being sent

Postby personalt » Sat Dec 12, 2015 7:30 am

Thanks... Yes I was using FreePBX. I came here as I figured that FreePBX is just writing the config.

It actually seemed like something was stuck in the freepbx gui because I printed out all my settings and blew away the server. I re-added things the exact same way and it worked fine.
personalt
Newsterisk
 
Posts: 2
Joined: Thu Dec 10, 2015 4:33 pm

Re: Outgoing caller id not being sent

Postby david55 » Sun Dec 13, 2015 6:07 am

personalt wrote:I figured that FreePBX is just writing the config.


It does a lot more than that. Asterisk is a low level tool kit which provides a specialised programming language. FreePBX has a large amount of code in that language that is either static or used as a template when expanding a configuration.

It also defines lots of terms like, trunk, extension (has a meaning that differs from the Asterisk one), and ring group, that are not used in Asterisk and often don't exist as primitive operations, but are implemented by dialplan code that is supplied as part of FreePBX.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest