asterisk2billing.org
http://forum.asterisk2billing.org/

Caller ID from sip.conf
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=8988
Page 1 of 1

Author:  harif [ Tue Jul 05, 2011 1:29 pm ]
Post subject:  Caller ID from sip.conf

Hi,

I am using PRI to dial to local mobile and land line. So for each extension i have to specify particual CID in sip.conf.

Now i need to bill all the calls. Each card number will be password for dial mobile and land line. BUt now the issue is caller id is not passing from sip.conf.

Like i can specify caller id group. Then calls are going.But its not taking the specific caller id.

And i found an option to enter caller id in create customer. But call gets failed. From the cli i know its the issue with caller id.

Thanks in advance.

Harif

Author:  harif [ Sun Jul 10, 2011 7:46 am ]
Post subject:  Re: Caller ID from sip.conf

SOLVED


Found the solution in this forum itself..wasted almost 2 days..#$%^&*
[a2billing]
exten => _X.,1,Set(CALLERID(num)=999${CALLERID(num)}) ;supposing that 999 is the country code you have to prepend
exten => _X.,2,Answer
exten => _X.,3,Wait,2
exten => _X.,4,DeadAGI,a2billing.php
exten => _X.,5,Wait,2
exten => _X.,6,Hangup

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/