[asterisk-users] Get phone number from SIP header PAI

Warren Selby wcselby at selbytech.com
Tue Mar 29 12:02:05 CDT 2011


On Tue, Mar 29, 2011 at 8:19 AM, Jonas Kellens <jonas.kellens at telenet.be>wrote:

>  Hello list,
>

<snip>


> I'm trying this :
> *exten => _XXX.,n,Set(PY4=${CUT(PY2,\:,1-)}) *
> but this does not change a thing to the string...
>

Try the following:

*exten => _XXX.,n,Set(PY4=${CUT(PY2,:,2)})  *



-- 
Thanks,
--Warren Selby, dCAP
http://www.selbytech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110329/120cc746/attachment.htm>


More information about the asterisk-users mailing list