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: [EMAIL PROTECTED] 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


<<winmail.dat>>

_______________________________________________
--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

Reply via email to