Re: [Asterisk-Users] SER redirect
my setup is client--registers-- ser-redirect---client ---invite-- asterisk -- pstn when this happens i configured the ser.cfg with the rewriteuri and redirect logic and i am seeing 300 redirect being passed to the client registerd to ser but when it sends a invite to asterisk, asterisk looks for the same ip address of the client to send reply to and i receive a error on the asterisk server realtime_peer: Cannot Determine peer name ip=xxx.xxx.xxx.xxx I would appreciate if someone can help me figure this out. Thank you, AAOn 1/30/06, Velimir Novkovic [EMAIL PROTECTED] wrote: Check http://www.voip-info.org/wiki/view/Asterisk+at+largeOr sipedu http://mit.edu/sip/sip.edu/Plenty of examples /Vel-Original Message-From: [EMAIL PROTECTED][mailto: [EMAIL PROTECTED]] On Behalf Of SharonSent: Friday, January 27, 2006 4:41 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: [Asterisk-Users] SER redirecthello, can someone help me with ser redirect to asterisk.any help appreciated.Thanks,AA___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SER redirect
Sharon a écrit : my setup is client--registers-- ser-redirect---client ---invite-- asterisk -- pstn when this happens i configured the ser.cfg with the rewriteuri and redirect logic and i am seeing 300 redirect being passed to the client registerd to ser but when it sends a invite to asterisk, asterisk looks for the same ip address of the client to send reply to and i receive a error on the asterisk server realtime_peer: Cannot Determine peer name ip=xxx.xxx.xxx.xxx I would appreciate if someone can help me figure this out. I have the same setup and here is what I do: In ser.cfg: # - # Pass on stuff going to PSTN to Asterisk # - if (uri=~^sip:[EMAIL PROTECTED]) { rewritehostport (*your_asterisk_box_ip*:5060); if (!t_relay()) { # sl_send_reply (403, prout); sl_reply_error(); }; break; }; In sip.conf: (asterisk) [ser-stuff] type=friend context=world host=my_ser_host canreinvite=no Also be careful. If someuser@yourserbox.ip calls not to have any [someuser] sections in sip.conf, because it broke stuff for me. Good luck! Jean-Michel. -- Jean-Michel Hiver - http://ykoz.net/ Découvrez la Réunion des Technologies IP Telecom TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SER redirect
i have ser and asterisk on 2 different boxes. my ser.cfg if (method==REGISTER) { if(!www_authorize(ser domain name, subscriber)){ www_challenge(ser domain name, 0); break; } sl_send_reply(200, ok); break; }; rewritehostport (ip addr of asterisk box:5060); sl_send_reply (300, redirect); } asterisk setting in sip.conf: i am not adding ser as a peer neither am i adding the peer registered with ser in the sip.conf i wanted ser to pass a redirect to the client registered with ser (this part works) then ser is out of the call and the client and asterisk talk but on my asterisk box i'm seeing the following error Using INVITE request as basis request - [EMAIL PROTECTED] Sending to xxx.xxx.xx.xx : 5060 (NAT) chan_sip.c:realtime_peer: Cannot Determine peer name ip=xx.xxx.xxx.xxx Found no matching peer or user for 'xx.xx.xx.xx:5060 its looking for same ip of the ser client to send back the reply. On 1/31/06, Jean-Michel Hiver [EMAIL PROTECTED] wrote: Sharon a écrit : my setup is client--registers-- ser-redirect---client ---invite-- asterisk -- pstn when this happens i configured the ser.cfg with the rewriteuri and redirect logic and i am seeing 300 redirect being passed to the client registerd to ser but when it sends a invite to asterisk, asterisk looks for the same ip address of the client to send reply to and i receive a error on the asterisk server realtime_peer: Cannot Determine peer name ip=xxx.xxx.xxx.xxx I would appreciate if someone can help me figure this out.I have the same setup and here is what I do: In ser.cfg:# -# Pass on stuff going to PSTN to Asterisk# - if (uri=~^sip:[EMAIL PROTECTED]) {rewritehostport (*your_asterisk_box_ip*:5060);if (!t_relay()) {# sl_send_reply (403, prout);sl_reply_error(); };break;};In sip.conf: (asterisk)[ser-stuff]type=friendcontext=worldhost=my_ser_hostcanreinvite=noAlso be careful. If someuser@yourserbox.ip calls not to have any[someuser] sections in sip.conf, because it broke stuff for me.Good luck!Jean-Michel.--Jean-Michel Hiver - http://ykoz.net/Découvrez la Réunion des Technologies IP Telecom TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] SER redirect
Check http://www.voip-info.org/wiki/view/Asterisk+at+large Or sipedu http://mit.edu/sip/sip.edu/ Plenty of examples /Vel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sharon Sent: Friday, January 27, 2006 4:41 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] SER redirect hello, can someone help me with ser redirect to asterisk. any help appreciated. Thanks, AA ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SER redirect
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you specify a bit more what you whant to have help with! Best regards jan Sharon wrote: hello, can someone help me with ser redirect to asterisk. any help appreciated. Thanks, AA ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users - -- +--- ! Irial / YASK AB ! Att: Jan Saell ! Box 59, S-692 21 KUMLA, SWEDEN ! Tel: 019-58 25 15 Int +46-19 58 25 15 Fax +46-19 58 38 05 ! E-mail: [EMAIL PROTECTED] ! PGP Fingerprint: E957 23C8 9F51 0958 B9AD 7F18 404A 5DA1 F944 A08B -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD3JwXQEpdoflEoIsRAscBAJ9TUT+glfYs7AsIc9VuqsnmeH9SNgCfePY7 BYdhQejNlF1f1p7yKyMAHP8= =Hqh4 -END PGP SIGNATURE- ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SER redirect
Jan Saell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you specify a bit more what you whant to have help with! I guess it is the usual question nobody wants to answer, right? (Internet) == port 5060 = SER redirect EVERYTHING to port 5062 = Asterisk bye Ronald Wiplinger Best regards jan Sharon wrote: hello, can someone help me with ser redirect to asterisk. any help appreciated. Thanks, AA ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users - -- +--- ! Irial / YASK AB ! Att: Jan Saell ! Box 59, S-692 21 KUMLA, SWEDEN ! Tel: 019-58 25 15 Int +46-19 58 25 15 Fax +46-19 58 38 05 ! E-mail: [EMAIL PROTECTED] ! PGP Fingerprint: E957 23C8 9F51 0958 B9AD 7F18 404A 5DA1 F944 A08B -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD3JwXQEpdoflEoIsRAscBAJ9TUT+glfYs7AsIc9VuqsnmeH9SNgCfePY7 BYdhQejNlF1f1p7yKyMAHP8= =Hqh4 -END PGP SIGNATURE- ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users