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
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@yahoo.com.ar] Enviado el: Friday, August 05, 2005 8:25 AM Para: asterisk-users@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@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
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@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@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@yahoo.com.ar] > Enviado el: Friday, August 05, 2005 8:25 AM > Para: asterisk-users@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@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
Eric Wieling aka ManxPower
2005-Aug-05 09:41 UTC
[Asterisk-Users] asterisk registered in ser proxy
Jenna Cole wrote:> 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@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=7771Remove the qualify=yes and Asterisk will stop sending the options packets. -- Eric Wieling * BTEL Consulting * 504-210-3699 x2120 Only terrorists use the "r" option to Dial.
Which SIP proxy are you using? Check the authentication parameters (user-id, auth-id, password)? Post the "sip debug peer 10.0.0.115" logs. Saludos. jsalas -----Mensaje original----- De: Jenna Cole [mailto:girlasterisk@yahoo.com.ar] Enviado el: Friday, August 05, 2005 12:58 PM Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [Asterisk-Users] asterisk registered in ser proxy if i remove that line, asterisk stop sendind the "OPTIONS" message to the SIP PROXY, but it's still NOT sending the REGISTER message. i would alse need to register more than one number --- Eric Wieling aka ManxPower <eric@fnords.org> escribi?:> Jenna Cole wrote: > > 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@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 > > Remove the qualify=yes and Asterisk will stop > sending the options packets. > > > -- > Eric Wieling * BTEL Consulting * 504-210-3699 x2120 > > Only terrorists use the "r" option to Dial. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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>__________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
im using iptel.org SER proxy. the proxy is working without authentication. the problem is that the Asterisk is not sending a REGISTER sip message. --- Juan Salas <jsalas@magenta.cl> escribi?:> Which SIP proxy are you using? > Check the authentication parameters (user-id, > auth-id, password)? > Post the "sip debug peer 10.0.0.115" logs. > > Saludos. > > jsalas > > > > > > > -----Mensaje original----- > De: Jenna Cole [mailto:girlasterisk@yahoo.com.ar] > Enviado el: Friday, August 05, 2005 12:58 PM > Para: Asterisk Users Mailing List - Non-Commercial > Discussion > Asunto: Re: [Asterisk-Users] asterisk registered in > ser proxy > > > if i remove that line, asterisk stop sendind the > "OPTIONS" message to the SIP PROXY, but it's still > NOT > sending the REGISTER message. > > i would alse need to register more than one number > > --- Eric Wieling aka ManxPower <eric@fnords.org> > escribi?: > > > Jenna Cole wrote: > > > 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@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 > > > > Remove the qualify=yes and Asterisk will stop > > sending the options packets. > > > > > > -- > > Eric Wieling * BTEL Consulting * 504-210-3699 > x2120 > > > > Only terrorists use the "r" option to Dial. > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@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> > > > > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y > antispam ?gratis! > ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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
Hello. I am having issues with my amp 1.3 installation after I installed oh323 support. I do not hear any voice from asterisk. it seems like whatever codec I choose on my IP phone this is the issue. I can call other endpoints without problem however. The debug log shows, Aug 7 00:45:08 DEBUG[1432]: Oooh, format changed to 2 Aug 7 00:45:08 DEBUG[1432]: Ooh, format changed from unknown to gsm I think this is a codec translation issue. Any suggestion to solve it ? -apu
You don't see SIP messages arrives on the SIP proxy? Or you don't see messages leaving your asterisk? What show the "sip show registry" command? Post the "sip debug peer 10.0.0.115" logs to see what it is doing. We have a asterisk registered in SER and it works fine! Saludos. jsalas -----Mensaje original----- De: Jenna Cole [mailto:girlasterisk@yahoo.com.ar] Enviado el: Monday, August 08, 2005 9:51 AM Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [Asterisk-Users] asterisk registered in ser proxy I tried that, but asterisk is still NOT sending a REGISTER sip message to the sip proxy. actually, it is not sending any sip message to the sip proxy. Jenna ;) --- Paul Belanger <pabelanger@codeslingers.ca> escribi?:> In you sip.conf what if you change: > > register => 7771:pppp:7771@10.0.0.115/7771 > > to > > register => 7771:pppp@10.0.0.115/7771 > > PB > > Jenna Cole wrote: > > im using iptel.org SER proxy. > > the proxy is working without authentication. > > the problem is that the Asterisk is not sending a > > REGISTER sip message. > > > > > > --- Juan Salas <jsalas@magenta.cl> escribi?: > > > > > >>Which SIP proxy are you using? > >>Check the authentication parameters (user-id, > >>auth-id, password)? > >>Post the "sip debug peer 10.0.0.115" logs. > >> > >>Saludos. > >> > >>jsalas > >> > >> > >> > >> > >> > >> > >>-----Mensaje original----- > >>De: Jenna Cole [mailto:girlasterisk@yahoo.com.ar] > >>Enviado el: Friday, August 05, 2005 12:58 PM > >>Para: Asterisk Users Mailing List - Non-Commercial > >>Discussion > >>Asunto: Re: [Asterisk-Users] asterisk registered > in > >>ser proxy > >> > >> > >>if i remove that line, asterisk stop sendind the > >>"OPTIONS" message to the SIP PROXY, but it's still > >>NOT > >>sending the REGISTER message. > >> > >>i would alse need to register more than one number > >> > >> --- Eric Wieling aka ManxPower <eric@fnords.org> > >>escribi?: > >> > >> > >>>Jenna Cole wrote: > >>> > >>>>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@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 > >>> > >>>Remove the qualify=yes and Asterisk will stop > >>>sending the options packets. > >>> > >>> > >>>-- > >>>Eric Wieling * BTEL Consulting * 504-210-3699 > >> > >>x2120 > >> > >>>Only terrorists use the "r" option to Dial. > >>> > >>>_______________________________________________ > >>>Asterisk-Users mailing list > >>>Asterisk-Users@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> > > >> > >>__________________________________________________ > >>Correo Yahoo! > >>Espacio para todos tus mensajes, antivirus y > >>antispam ?gratis! > >>?Abr? tu cuenta ya! - http://correo.yahoo.com.ar > >>_______________________________________________ > >>Asterisk-Users mailing list > >>Asterisk-Users@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 > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@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> > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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>__________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
could you please send me your sip.conf file, it would help sooooooo much. anyway, here is what you ask me, hope this can help you help me. *CLI> sip show registry Host Username Refresh State *CLI> this is my sip debug peer 10.0.0.115 log: *CLI> sip reload Reloading SIP == Parsing '/etc/asterisk/sip.conf': Found == Parsing '/etc/asterisk/sip_notify.conf': Found *CLI> sip reload Reloading SIP == Parsing '/etc/asterisk/sip.conf': Found == Parsing '/etc/asterisk/sip_notify.conf': Found 11 headers, 0 lines Reliably Transmitting (no NAT) to 10.0.0.115:5060: OPTIONS sip:10.0.0.115 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.116:5060;branch=z9hG4bK38c3ce8b From: "asterisk" <sip:asterisk@10.0.0.116>;tag=as1be77954 To: <sip:10.0.0.115> Contact: <sip:asterisk@10.0.0.116> Call-ID: 6bfe849341282e8d3bff89324bb4cf0a@10.0.0.116 CSeq: 102 OPTIONS User-Agent: Asterisk PBX Date: Mon, 08 Aug 2005 18:04:21 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Length: 0 --- *CLI> <-- SIP read from 10.0.0.115:5060: SIP/2.0 404 Not Found Via: SIP/2.0/UDP 10.0.0.116:5060;branch=z9hG4bK38c3ce8b From: "asterisk" <sip:asterisk@10.0.0.116>;tag=as1be77954 To: <sip:10.0.0.115>;tag=b27e1a1d33761e85846fc98f5f3a7e58.eaa8 Call-ID: 6bfe849341282e8d3bff89324bb4cf0a@10.0.0.116 CSeq: 102 OPTIONS Server: Sip EXpress router (0.9.3 (i386/linux)) Content-Length: 0 Warning: 392 10.0.0.115:5060 "Noisy feedback tells: pid=25319 req_src_ip=10.0.0.116 req_src_port=5060 in_uri=sip:10.0.0.115 out_uri=sip:10.0.0.115 via_cnt==1" --- (9 headers 0 lines)--- Destroying call '6bfe849341282e8d3bff89324bb4cf0a@10.0.0.116' Jenna --- Juan Salas <jsalas@magenta.cl> escribi?:> You don't see SIP messages arrives on the SIP proxy? > Or you don't see messages leaving your asterisk? > What show the "sip show registry" command? > Post the "sip debug peer 10.0.0.115" logs to see > what it is doing. > > We have a asterisk registered in SER and it works > fine! > > Saludos. > > jsalas > > > > -----Mensaje original----- > De: Jenna Cole [mailto:girlasterisk@yahoo.com.ar] > Enviado el: Monday, August 08, 2005 9:51 AM > Para: Asterisk Users Mailing List - Non-Commercial > Discussion > Asunto: Re: [Asterisk-Users] asterisk registered in > ser proxy > > > I tried that, but asterisk is still NOT sending a > REGISTER sip message to the sip proxy. > actually, it is not sending any sip message to the > sip > proxy. > > Jenna ;) > > --- Paul Belanger <pabelanger@codeslingers.ca> > escribi?: > > > In you sip.conf what if you change: > > > > register => 7771:pppp:7771@10.0.0.115/7771 > > > > to > > > > register => 7771:pppp@10.0.0.115/7771 > > > > PB > > > > Jenna Cole wrote: > > > im using iptel.org SER proxy. > > > the proxy is working without authentication. > > > the problem is that the Asterisk is not sending > a > > > REGISTER sip message. > > > > > > > > > --- Juan Salas <jsalas@magenta.cl> escribi?: > > > > > > > > >>Which SIP proxy are you using? > > >>Check the authentication parameters (user-id, > > >>auth-id, password)? > > >>Post the "sip debug peer 10.0.0.115" logs. > > >> > > >>Saludos. > > >> > > >>jsalas > > >> > > >> > > >> > > >> > > >> > > >> > > >>-----Mensaje original----- > > >>De: Jenna Cole > [mailto:girlasterisk@yahoo.com.ar] > > >>Enviado el: Friday, August 05, 2005 12:58 PM > > >>Para: Asterisk Users Mailing List - > Non-Commercial > > >>Discussion > > >>Asunto: Re: [Asterisk-Users] asterisk registered > > in > > >>ser proxy > > >> > > >> > > >>if i remove that line, asterisk stop sendind the > > >>"OPTIONS" message to the SIP PROXY, but it's > still > > >>NOT > > >>sending the REGISTER message. > > >> > > >>i would alse need to register more than one > number > > >> > > >> --- Eric Wieling aka ManxPower > <eric@fnords.org> > > >>escribi?: > > >> > > >> > > >>>Jenna Cole wrote: > > >>> > > >>>>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@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 > > >>> > > >>>Remove the qualify=yes and Asterisk will stop > > >>>sending the options packets. > > >>> > > >>> > > >>>-- > > >>>Eric Wieling * BTEL Consulting * 504-210-3699 > > >> > > >>x2120 > > >> > > >>>Only terrorists use the "r" option to Dial. > > >>> > > >>>_______________________________________________ > > >>>Asterisk-Users mailing list > > >>>Asterisk-Users@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> > > > > >> > > > >>__________________________________________________ > > >>Correo Yahoo! > > >>Espacio para todos tus mensajes, antivirus y > > >>antispam ?gratis! > > >>?Abr? tu cuenta ya! - http://correo.yahoo.com.ar > > >>_______________________________________________ > > >>Asterisk-Users mailing list > > >>Asterisk-Users@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 > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com >=== message truncated == __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar