[Asterisk-Users] Call Routing based on number dialed (using S IP)

Geoff Manning gmanning at zoom.com
Tue Jun 7 09:16:37 MST 2005


> 
> sipgetheader(or_To=To)
> Cut(or_To,or_To,:,2)
> Cut(or_To,or_To,@,1)


That works! Thanks!

Correction to the cut command below, replaced , with = :

> sipgetheader(or_To=To)
> Cut(or_To=or_To,:,2)
> Cut(or_To=or_To,@,1)






More information about the asterisk-users mailing list