Henry,
 
This has always worked for me (when carrier allows spoofing):
 
exten => s,n,Set(CALLERID(name)=4169999999)
exten => s,n,Set(CALLERID(num)=4169999999) 
 
I do both "name" and "num" just to be on the safe side, plus, the only country 
that allows name and number simultaneously through VoIP is Canada.
 
-Bruce
 
 

> Date: Sat, 25 Apr 2009 09:40:05 -0400
> From: [email protected]
> To: [email protected]
> Subject: RE: [on-asterisk] Changing the outbound CID via the dial plan
> 
> 'm having a problem getting that to work, however,I think the problem might 
> be the
> correct syntax ...something like Set("<"+CALLERID(num)+">")= ${SPOOFID} ?????
> -----------------
> Henry L. Coleman
> [VoIP-PBX.ca]
> 
> =================
> 
>> Bill Sandiford<
>> Replace ????????) with CALLERID(num)
>>
>> -----Original Message-----
>> From: Apache [mailto:[email protected]] On Behalf Of Henry 
>> L.Coleman
>> Sent: Friday, April 24, 2009 4:15 PM
>> To: [email protected]
>> Subject: [on-asterisk] Changing the outbound CID via the dial plan
>>
>> Hi all, I've been attempting to change the outbound CID from an extension 
>> using the dial plan.
>>
>> exten => *37,1,Read(SPOOFID,agent-newlocation,10,3)
>> exten => *37,2,Set(????????)=${SPOOFID})
>> exten => *37,3,SayDigits(${SPOOFID})
>>
>> Help anyone ????????
>>
>>
>>
>>
>> Henry L.Coleman [VoIP-PBX.ca]
>> -------------------------------------------------
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
_________________________________________________________________
Create a cool, new character for your Windows Liveā„¢ Messenger.
http://go.microsoft.com/?linkid=9656621
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to