[asterisk-users] regcontext

Nhadie nhadie at gmail.com
Mon Oct 6 23:03:49 CDT 2008


hi all,

just wondering what's happening here:

i have a pap2 and an spa941. everytime i call my spa from my pap2 i can 
see it being added dynamically on the regcontext:

[Oct  7 11:59:08]     -- Saved useragent "Linksys/SPA942-5.2.8" for peer 
100100
[Oct  7 11:59:08]     -- Added extension '100100' priority 1 to 
sipregcontext


but from spa to pap2 i dont see it, i looked at the difference on the 
config, under SIP:

On PAP2:
Handle VIA received: yes	Handle VIA rport: yes	
Insert VIA received: yes	Insert VIA rport: yes	
STUN Enable: yes		STUN Test Enable:

On SPA:
Handle VIA received: no		Handle VIA rport: no	
Insert VIA received: no		Insert VIA rport: no	
STUN Enable: no			STUN Test Enable:


so i change pap2 to the same config as spa, and now i can see it being 
added on the regcontext when i call it

[Oct  7 11:59:04]     -- Saved useragent "Linksys/PAP2-3.1.22(LS)" for 
peer 100200
[Oct  7 11:59:04]     -- Added extension '100200' priority 1 to 
sipregcontext
[Oct  7 11:59:04]     -- Saved useragent "Linksys/PAP2-3.1.22(LS)" for 
peer 100300
[Oct  7 11:59:04]     -- Added extension '100300' priority 1 to 
sipregcontext

does that have to do with the STUN? or the Handle VIA thing. just trying 
to understand these behavior.

TIA

Regards,
Nhadie





More information about the asterisk-users mailing list