[asterisk-users] Callerid over IAX Trunks
Ye Liu
jaux.mw at gmail.com
Mon Apr 12 12:12:54 CDT 2010
Hi Alyed,
Thank you for the response. I tried this solution, I got "Unknown"
displayed instead of 999. Also, I tried both 200 and <200> as the CID
number for the extension, but the results were the same.
On Sat, Apr 10, 2010 at 2:10 PM, Alyed <alyed at vivoxie.com> wrote:
> Don't have a system to test this right now, but read somewhere this was a 2
> steps solution:
>
> 1) Leave the callerid in your tunk definition blank (in your example the 999
> username)
>
> 2) Use brakets around the callerid definition of your peers: callerid= <200>
> (extension 200 in your example)
>
> Let us know if it worked.
>
> Alyed
>
>
> 2010/4/9 Ye Liu <jaux.mw at gmail.com>
>>
>> Hello everyone,
>>
>> I'm fairly new to asterisk and this list. Currently I'm working on IAX
>> trunks to send/receive calls between 2 asterisk boxes with asterisk
>> 1.6.1.1+asterisk gui 2.0. After some work in the gui, two boxes can
>> send/receive calls to/from the other just fine, the only problem I
>> have is the caller id.
>>
>> Here is my setup:
>>
>> 1. on both boxes, I added an IAX user in the gui, say the extension
>> and password are 999
>> 2. I then created IAX trunks for each box using 999 as username and
>> password, hostname/IP was set to be other box's IP
>> 3. when done, from the system status panel, I saw the trunks
>> successfully registered to the other box
>> 4. then I added "Outgoing Call Rules" to each box:
>> for box1, _2XX --> to_box2_trunk
>> for box2, _1XX --> to_box1_trunk
>>
>> This setup works ok, the only problem is caller id, i.e. when
>> extension(200) from box2 calls to extension(100) from box1, the call
>> can be made but the caller id displayed on 100 is 999 not 200.
>>
>> I have been on this problem for some time already, could anyone here
>> give me a bit help please?
>> --
>> Ye Liu (AKA @jaux)
>>
>> http://jaux.net
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Ye Liu (AKA @jaux)
http://jaux.net
More information about the asterisk-users
mailing list