Tilghman Lesher wrote:
> On Tuesday 06 May 2008 12:45:42 sean darcy wrote:
>> Using 1.6-rc8.
>>
>> In iax.conf on the calling box, I have:
>>
>> [iax-out]
>> .........
>> callerid = "sean" <447>
>>
>> I even also put the same on called box.
>>
>> But I can't seem to set the callerid:
>>
>> exten =>_NXX,1,Answer()
>> exten =>_NXX,n,NoOp(${CALLERID(num)})
>>
>>
>> Answer("IAX2/iax-in-7", "") in new stack
>> NoOp("IAX2/iax-in-7", "") in new stack
>>
>> So how do I set callerid?
>
> "iax-out" != "iax-in"
>
So??
On the calling box,
[iax-out]
type=friend
username=iax-in
secret=password
peercontext=longdistance ; which also does extensions
host=
qualify=yes
trunk=yes
callerid = "sean" <447>
On the called - receiving - box:
[iax-in]
type=friend
username=iax-in
secret=password
context=longdistance
qualify=yes
trunk=yes
callerid = "sean" <447>
and then the cli shows:
-- Executing [EMAIL PROTECTED]:1] Answer("IAX2/iax-in-1", "") in
new stack
-- Executing [EMAIL PROTECTED]:2] NoOp("IAX2/iax-in-1", "")
in new stack
................
I must be missing something. The name of the iax.conf context matters
somehow?
Thanks for any help.
sean
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users