Proper usage of user's and peer's (was Re: [Asterisk-Users] IAX2 Trunking confirmation?)

Jeremy McNamara jj at nufone.net
Thu Oct 9 22:18:26 MST 2003


Thorsten Lockert wrote:

>>and the peer simply has the required information:
>>
>>[NuFone]
>>type=peer
>>secret=his_secret
>>context=NANPA          
>>host=switch-1.nufone.net
>>    
>>
>
>Uh.  Why would you want to specify a context for a peer at all...?  Aren't
>those used
>only for inbound anyhow?
>  
>

No, you actually don't need to use a context in the peer. Asterisk will 
leave it up to the far end to decide what context to use.
We use it to avoid any possibility of confusion in the process, but it 
is not necessary.

In fact, I just verified this with the master himself and we will no 
longer tell our customers to use a context in their peer.



Jeremy McNamara





More information about the asterisk-users mailing list