Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Dec 12, 2018 3:59 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Privay: remove the *67 from exten
PostPosted: Fri Dec 08, 2017 11:51 am 
Offline

Joined: Tue Jan 31, 2017 11:16 am
Posts: 2
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!


Top
 Profile  
 
 Post subject: Re: Privay: remove the *67 from exten
PostPosted: Fri Feb 02, 2018 3:50 am 
Offline

Joined: Sat Oct 13, 2007 4:07 am
Posts: 176
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group