[Asterisk-Users] Re: [Users] open letter (2)
Hi Klaus, Please do not cross post. Split your problems into smaller problems and ask them on the correspondig list. I mail my question to asterisk, openser ser lists After all your emails, I still have no glue what your scenario is. Why do you want to host ser+asterisk+NAT on the same device? pass through I agree my english is not very good sorry i try my best . Asterisk don't provide IM/presence unlike ser however ser don't provide telephony features like MOH ACD call parked IVR and more I want my sip agents to provide these features. Ser handle sip routing asterisk telephony features . Should the Asterisk/ser be reachable also from the public interface? If not, why do you need NAT traversal at all? In fact i have got a single machine for my tests . Ser handle sip routing so incoming or outgoing requests pass through SER not directly to asterisk . I need nat support for sip agents behind nat. Why do you use both? Asterisk can also do NAT traversal. For how many users is the setup? I think asterisk support 255 users klaus harry gaillac wrote: Dear users, This letter is addressed to the most experienced users for the ser openser and asterisk projects. Advice me and I'll stop to mail my question. How a session between two user agents behind nat could stay in the path ? Harry Kinds Regards |register || register | agent1 asterisk| |ser/nat box || | 200 OK ||200 OK | agent2 One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private network | ---- --- ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter (2)
--- Klaus Darilion [EMAIL PROTECTED] a écrit : Hi Harry! As this emails are on-topic you should cc: to the list. harry gaillac wrote: In fact the problem is in contact sip header field (private ip) agent send ReGISTER to SER (outbound proxy) which one send REGISTER to ASTERISK . Asterisk register agent with AOR sip:[EMAIL PROTECTED] ip When agent send INVITE to an other agent ASTERISK use AOR sip:[EMAIL PROTECTED] ip but the firewall don't allow this Asterisk SHOULD resend INVITE to SER. Does SER is able to rewrite contact field in SIP HF? Which IPaddress:port do you want to have in the REGISTER's Contact: header sent from ser to Asterisk? in fact i wish to replace all private ip in the contact field with the public ip of ASTERISK Harry klaus Regards Thanks for your advices Harry --- Klaus Darilion [EMAIL PROTECTED] a écrit : harry gaillac wrote: Have you ever used SIP clients with presence and IM? I suggest to setup ser (without Asterisk) just to test the IM features. SIP based IM/presence implementations are very poor yet. I've done it And what were your experiences? Which clients do you use? Polycom IP300 In your picture, the NAT router is on the same PC as ser and asterisk. Is this correct? this is correct It would be a good idea to split things. This is a rather complicated setup. what scenario do you have? Are all the users behding the same NAT (in the same subnet) and you provide VoIP within this network (e.g. an enterprise) or do you have external users (e.g. like iptel or freeworlddialup)? in fact both asterisk+ser private net=nathelper ==nat===private net nat box || internet== I suggest: 1. Asterisk, ser and the RTP proxy 8rtpproxy or mediaproxy) should listen only on the public interface (this really must be a routable public IP address, no private). SER asterisk listen on public ip 2. Setup the firewall (e.g. iptables) correctly to allow traffic from/to ser, asterisk and the RTP proxy Done 3. setup ser according the getting started document on onsip.org. AFAIK this document contains hints how to route to a gateway. Reuse this part of the config to route certain calls to the asterisk box. Done 4. Try to solve things step by step: - REGISTER should work fine from Internet and LAN - Calls from Internet clients to Internet clients - Calls from LAN clients to LAN clients - Calls from LAN clients to Internet clients (and vice versa) - now try to add asterisk, e.g. calling a certain number will be routed to asterisk and starts the echo application If all the above works (DO NOT start integrating the asterisk as long as basic SIP call do not work!), you can implement your setup. 5. Do really read every word in the getting started document, if things are unclear read it again. 6. Do not post how to make this setup. Ask small questions addressing particular (small) problems. 7. Post to the related list. - do not post to developer lists - if you use ser, post to ser's list - if you use openser, post to openser's list - if you have an asterisk problem, ask at the asterisk list (e.g. you want to solve NAT traversal and registration with ser. Thus, do not ask this kind of questions at the asterisk list). 8. always remember that this support is voluntary 9. If you don't find the proper english word, look into the dictionary instead of using another word which might also have other meanings. 10. Go and buy an english SIP book. (this will you help to learn the english terms for all the SIP stuff) 11. use ngrep to watch the SIP call flow # ngrep -t -d any port 5060 regards klaus === message truncated === ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter
Let me get this straight All you are doing is registering the devices with SER (below you have mentioned asterisk, and then you say they goto ser) Once they are registered to ser you wish to send them to asterisk...is this correct If so, this does not seem to hard, NAT ius dealt with in ser, I use mediaproxy, others may use nathelper, so before you send to asterisk take care of NAT issues in SER and then send to asterisk. Paste config, in pastebin, and also a ngrep of the call debug. Iqbal harry gaillac wrote: Hello open(ser) asterisk users Here is what i expect to do : Asterisk: registrar with public ip port=5050 open(ser): outbound proxy with public ip port=5060 Asterisk don't support IM and presence so i want to use SER because of it's a good proxy: I want user agents behind nat send registration to asterisk because of it's an ipbx :-) Look at this diagram when user agent behind nat send REGISTER to ser the contact field in sip header has a private address which one is forward to asterisk for registration. When user agent are registered in asterisk AOR is sip:[EMAIL PROTECTED] ip so asterisk query sip:[EMAIL PROTECTED] behind nat (not possible). How a session between two user agents behind nat could keep in the path |register || register | agent1 asterisk| |ser/nat box || | 200 OK ||200 OK | agent2 One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private network | ---- --- Send me your questions if you don't understand what i expect to do . Harry ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users . ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter
Let me get this straight All you are doing is registering the devices with SER (below you have mentioned asterisk, and then you say they goto ser) No to asterisk. Asterisk should handle INVITE, REGISTER via ser. SER should handle IM/presence Once they are registered to ser you wish to send them to asterisk...is this correct If so, this does not seem to hard, NAT ius dealt with in ser, I use mediaproxy, others may use nathelper, so before you send to asterisk take care of NAT issues in SER and then send to asterisk. Paste config, in pastebin, and also a ngrep of the call debug. Iqbal harry gaillac wrote: Hello open(ser) asterisk users Here is what i expect to do : Asterisk: registrar with public ip port=5050 open(ser): outbound proxy with public ip port=5060 Asterisk don't support IM and presence so i want to use SER because of it's a good proxy: I want user agents behind nat send registration to asterisk because of it's an ipbx :-) Look at this diagram when user agent behind nat send REGISTER to ser the contact field in sip header has a private address which one is forward to asterisk for registration. When user agent are registered in asterisk AOR is sip:[EMAIL PROTECTED] ip so asterisk query sip:[EMAIL PROTECTED] behind nat (not possible). How a session between two user agents behind nat could keep in the path |register || register | agent1 asterisk| |ser/nat box || | 200 OK ||200 OK | agent2 One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private network | ---- --- Send me your questions if you don't understand what i expect to do . Harry ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users . ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter
okay, so ALL your users are registering to asterisk...is that correct. If so the problem is howto accept users from behind a NAT into asterisk, or am I confusing things further. If the above are true, where is SER in this, or are users hitting SER and you are sending the REGISTER from ser into asterisk. Iqbal harry gaillac wrote: Let me get this straight All you are doing is registering the devices with SER (below you have mentioned asterisk, and then you say they goto ser) No to asterisk. Asterisk should handle INVITE, REGISTER via ser. SER should handle IM/presence Once they are registered to ser you wish to send them to asterisk...is this correct If so, this does not seem to hard, NAT ius dealt with in ser, I use mediaproxy, others may use nathelper, so before you send to asterisk take care of NAT issues in SER and then send to asterisk. Paste config, in pastebin, and also a ngrep of the call debug. Iqbal harry gaillac wrote: Hello open(ser) asterisk users Here is what i expect to do : Asterisk: registrar with public ip port=5050 open(ser): outbound proxy with public ip port=5060 Asterisk don't support IM and presence so i want to use SER because of it's a good proxy: I want user agents behind nat send registration to asterisk because of it's an ipbx :-) Look at this diagram when user agent behind nat send REGISTER to ser the contact field in sip header has a private address which one is forward to asterisk for registration. When user agent are registered in asterisk AOR is sip:[EMAIL PROTECTED] ip so asterisk query sip:[EMAIL PROTECTED] behind nat (not possible). How a session between two user agents behind nat could keep in the path |register || register | agent1 asterisk| |ser/nat box || | 200 OK ||200 OK | agent2 One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private network | ---- --- Send me your questions if you don't understand what i expect to do . Harry ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users . ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com . ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter
okay, so ALL your users are registering to asterisk...is that correct. Correct via ser as outbound sip proxy If so the problem is howto accept users from behind a NAT into asterisk, or am I confusing things further. the problem is in contact field. when user agents send register we have in sip hf Contact sip:[EMAIL PROTECTED] So asterisk store this AOR and try to contact agent via nat box instead of SER If the above are true, where is SER in this, or are users hitting SER and you are sending the REGISTER from ser into asterisk. SER is an outbound sip proxy which handle IM presence nat Harry One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private | ---- |-- ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter
Okay almost there :-) So UA --- asterisk --- SER --- UA is that it harry gaillac wrote: okay, so ALL your users are registering to asterisk...is that correct. Correct via ser as outbound sip proxy If so the problem is howto accept users from behind a NAT into asterisk, or am I confusing things further. the problem is in contact field. when user agents send register we have in sip hf Contact sip:[EMAIL PROTECTED] So asterisk store this AOR and try to contact agent via nat box instead of SER If the above are true, where is SER in this, or are users hitting SER and you are sending the REGISTER from ser into asterisk. SER is an outbound sip proxy which handle IM presence nat Harry One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private | ---- |-- ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com . ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Re: [Users] open letter
In fact ser should keep nat opened of ua behind nat. Ser just need to keep location for im an presence Asterisk forward requests according to contact field to ser. --- Iqbal [EMAIL PROTECTED] a écrit : Okay, so get ser to fix the NAT part before sending to asterisk. Any is ser just proxying all register commands, why not register in ser, than asterisk, I know you are doing IM in asterisk, and I havent done that, Asterisk do not support IM/presence. but I am using asterisk for features like call pickup and transfer, they might be different in operation but I think its best to find out howto let ser do all the hardwork and let asterisk only work when it needs to. They can work together ! thanks for help harry harry gaillac wrote: not exactly ! something like this : asterisk | ser ua1| | ua2 ua1 and ua2 send registration to asterisk via ser . when ua1 invite ua2 sip INVITE is sent to ser which one forward it to asterisk. asterisk lookup in its AORs so it bridge the call and send INVITE to ua2 via ser. Harry --- Iqbal [EMAIL PROTECTED] a écrit : Okay almost there :-) So UA --- asterisk --- SER --- UA is that it harry gaillac wrote: okay, so ALL your users are registering to asterisk...is that correct. Correct via ser as outbound sip proxy If so the problem is howto accept users from behind a NAT into asterisk, or am I confusing things further. the problem is in contact field. when user agents send register we have in sip hf Contact sip:[EMAIL PROTECTED] So asterisk store this AOR and try to contact agent via nat box instead of SER If the above are true, where is SER in this, or are users hitting SER and you are sending the REGISTER from ser into asterisk. SER is an outbound sip proxy which handle IM presence nat Harry One box --- | | | | asterisk pbx | | | | ||| | | ---- | | SER ||NAT box | private | ---- |-- ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com . ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com . ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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