[asterisk-users] Asterisk to Asterisk SIP Trunk and CallerID

Michael Welter mike at telecommatters.net
Mon Feb 26 18:19:37 MST 2007


In your SIP config for servers A and B, do you specify callerid?

Porier, Jeremy M. wrote:
> on the sending server I do this:
> 
> exten => s,3,Set(CALLERID(all)=My Name<1234>)
> exten => s,4,Noop(${CALLERIDNAME})
> exten => s,5,Noop(${CALLERIDNUM})
> exten => s,6,Dial(SIP/to-ServerB/${MACRO_EXTEN})
>  
> for the record, it shows the correctly set callerid and name on 4 and 5.  When I do a Noop(${CALLERIDNUM}) on ServerB it shows "fromServerA".
>  
> - Jeremy
> 
> ________________________________
> 
> From: asterisk-users-bounces at lists.digium.com on behalf of Eric "ManxPower" Wieling
> Sent: Mon 2/26/2007 5:23 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Asterisk to Asterisk SIP Trunk and CallerID
> 
> 
> 
> Porier, Jeremy M. wrote:
>> I have two asterisk boxes (1.2.14) connected via SIP with Polycom 501s
>> registered to each.  I set callerid name and num before sending the call
>> from one box to another but the phone registered to the receiving server
>> only properly shows the caller name, not the number.  The number on the
>> phone always shows as the name of the sip registration of the "calling"
>> server.
>>
>> Do I have to set a seperate sip header in the dialplan if I want to pass
>> callerid name and number between two boxes?  I feel like I'm making this
>> too complicated.
> 
> Show us the line that sets the Caller*ID in your dialplan.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Michael Welter
Telecom Matters Corp.
Denver, Colorado US
+1.303.414.4980
mike at TelecomMatters.net
www.TelecomMatters.net


More information about the asterisk-users mailing list