[Asterisk-Users] asterisk registered in ser proxy

Jenna Cole girlasterisk at yahoo.com.ar
Fri Aug 5 09:26:33 MST 2005


thanx for the reply.
i tried it, and now asterisk is doing something.
but the problem is that instead of sendind a
"REGISTER" message to the SIP PROXY, it is sendind an
"OPTIONS" 
message, and the PROXY responds with "404 NOT FOUND"

ihave in my sip.conf file:

register => 7771:pppp:7771 at 10.0.0.115/7771

[10.0.0.115]
type=peer
context=default
secret=pppp
username=7771
fromdomain=10.0.0.115
canreinvite=yes
dtmfmode=RFC2833
qualify=yes
host=10.0.0.115
insecure=very
fromuser=7771

and in the extentions.conf:

[default]
exten => 7771,1,SetLanguage(en)
exten => 7771,2,Wait(1)
exten => 7771,3,Answer
exten => 7771,4,Playback(privacy-thankyou) ; plays the
demo after answering
exten => _X.,1,Dial(SIP/${EXTEN}@10.0.0.115)



 --- Juan Salas <jsalas at magenta.cl> escribió:

> Yes you can.
> 
> In sip.conf you must edit:
> 
> register => <user in SIP proxy>:<password in SIP
> proxy>:<AUTH-ID in SIP
> proxy>@<IP of SIP proxy>/<local peer in asterisk
> where you answer the call>
> 
> and you must define a peer for the SIP proxy:
> 
> [SIP-proxy]
> type=peer
> context=<where you have the peer for answer>
> secret=<password in SIP proxy>
> username=<AUTH-ID in SIP proxy>
> fromdomain=<IP of SIP proxy>
> canreinvite=yes
> dtmfmode=RFC2833
> canreinvite=yes
> qualify=yes
> host=<IP of SIP proxy>
> insecure=very
> fromuser=<user in SIP proxy>
> disallow=all
> allow=g729
> 
> Finally, to make a call from asterisk yo need in the
> extension.conf
> something like this:
> 
> exten => _X.,1,Dial(SIP/SIP-proxy/${EXTEN})
> 
> 
> This should work!
> 
> Regards.
> 
> Jsalas
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Mensaje original-----
> De: Jenna Cole [mailto:girlasterisk at yahoo.com.ar]
> Enviado el: Friday, August 05, 2005 8:25 AM
> Para: asterisk-users at lists.digium.com
> Asunto: [Asterisk-Users] asterisk registered in ser
> proxy
> 
> 
> is it possible to register asterisk in a sip proxy
> as
> if it were a terminal (like a cisco ATA)? how?
> 
> Thanx
> Jenna ;)
> 
> 
> 	
> 
> 	
> 		
>
___________________________________________________________
> 
> 1GB gratis, Antivirus y Antispam 
> Correo Yahoo!, el mejor correo web del mundo 
> http://correo.yahoo.com.ar 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> 



	


	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 




More information about the asterisk-users mailing list