asterisk2billing.org http://forum.asterisk2billing.org/ |
|
Privay: remove the *67 from exten http://forum.asterisk2billing.org/viewtopic.php?f=33&t=12716 |
Page 1 of 1 |
Author: | iceget [ Fri Dec 08, 2017 11:51 am ] |
Post subject: | Privay: remove the *67 from exten |
dear team, my outbound route for a2billing as following: Code: ; A2Billing - Outbound [a2billing] exten => _*67X.,1,Answer exten => _*67X.,n,Wait(1) exten => _*67X.,n,Noop("before replacement :${EXTEN}") exten => _*67X.,n,NoOp("after replacement: ${EXTEN:3:111}") ;; removing the *67 from extension exten => _*67X.,n,NoOp("${SIP_HEADER(cid)}") exten => _*67X.,n,Set(CALLERID(num)=${SIP_HEADER(cid)}) exten => _*67X.,n,SIPAddHeader("Privacy:id") exten => _*67X.,n,AGI(a2billing.php,1) exten => _*67X.,n,Hangup() my problem: with the NoOp i can remove the *67 at the beginnen from my dial string. but how i can overwrite this before i call AGI? always my call to number is *67004912456789 can anybody helps me? thank you! |
Author: | GeekBoy [ Fri Feb 02, 2018 3:50 am ] |
Post subject: | Re: Privay: remove the *67 from exten |
What you seeing it pattern matching. All this is doing is removing the caller ID number. It is also removing the *67 from the dial sequence. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |