Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 2:40 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: CallerID Hack
PostPosted: Thu Dec 17, 2009 7:14 pm 
Offline

Joined: Fri Dec 19, 2008 10:31 pm
Posts: 31
Hi All
My sip provider is not accepting this format
exten => _X.,n,Set(CALLERID(num)=41644444444)
exten => _X.,n,Set(CALLERID(name)=Name)

they said " make sure that when you pass the caller information it is passed through the P-ASSERTED field and not the FROM or REMOTE PARTY fields."

now this way it is working
[outgoingcalls]
exten => _X.,1,SipAddHeader(P-Asserted-Identity: "Name" <sip:[email protected]>)
exten => _X.,n,Answer(10)
exten => _X.,n,Set(CALLERID(num)=41644444444)
exten => _X.,n,Set(CALLERID(name)=Name)
exten => _X.,n,Dial(SIP/${v1}/${EXTEN})
exten => _X.,n,Hangup()

So therefore I need to modify my a2billing script do write exten => _X.,1,SipAddHeader(P-Asserted-Identity: "Name" <sip:[email protected]>) instead of exten => _X.,n,Set(CALLERID(num)=41644444444)
Now which file(s) do I need to modify in order to do this?
Thanks in advance


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 16 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