Shamus,

I'd try again what you were testing before without the 'o' option.

Lonnie


On Jun 13, 2015, at 8:16 PM, Shamus Rask <sha...@srask.ca> wrote:

> Lonnie,
> 
> I removed the “o” option and took a look at the documentation for Asterisk 
> 1.8. Looks like there are two options that could be of interest:
> 
>       • f - If x is not provided, force the CallerID sent on a call-forward 
> or deflection to the dialplan extension of this Dial() using a dialplan hint. 
> For example, some PSTNs do not allow CallerID to be set to anything other 
> than the numbers assigned to you. If x is provided, force the CallerID sent 
> to x
>               • x
>       • s - Force the outgoing callerid tag parameter to be set to the string 
> x. Works with the f option.
>               • x
> As with all things Asterisk, the documentation is severely lacking! Can 
> anyone explain how these could/should be used?
> 
> I tried both of the following Dial commands:
> 
> Dial(${IPHONE_away},25,ktf) and Dial(${IPHONE_away},25,ktf(7778889999)). 
> Neither threw any errors; neither worked.
> 
> thanks,
>    Shamus
> 
>> Hi Shamus,
>> 
>> In your original post your Dial() snippet was:
>> --
>> same => n,Dial(${IPHONE_away},25,okt) ; IPHONE_away = MYSIPPROVIDER/mobile 
>> number
>> --
>> 
>> Note that the 'o' option is CallerId related for very old Asterisk
>> --
>> • o: Restore the Asterisk v1.0 CallerId behaviour (send the original 
>> caller's ID) in Asterisk v1.2 (default: send this extension's number)
>> --
>> Possibly that 'o' option is causing problems.
>> 
>> FYI, for Asterisk 11 the 'o' option is:  
>> https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Dial
>> 
>> --
>>      • o - If x is not provided, specify that the CallerID that was present 
>> on the calling channel be stored as the CallerID on the called channel. This 
>> was the behavior of Asterisk 1.0 and earlier. If x is provided, specify the 
>> CallerID stored on the called channel. Note that o(${CALLERID(all)}) is 
>> similar to option o without the parameter.
>>              • x
>> --
>> 
>> Personally I would not rely on option 'o' and just get and set the CallerId.
>> 
>> Lonnie
>> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to