On Monday 03 November 2003 00:37, you wrote:
You are the best alex. You have solved half of my problems already. I now know what to do at the cisco end of things. But I need to know what I should do if I only want several cisco gateways to talk to each other.
You'll have to write all the routing loging into ser.cfg For example let's say have a gateway terminate 1+ calls (north america) and another one terminate international calls, so you could have something like this in your ser.cfg
<snip> if(uri ~= "1[1-9][0-9]+@.*") { /* north american call */ rewritehostport("xxx.xxx.xxx.xxx:5060") /* ip of north american box */ } else if (uri ~="011[0-9][0-9]+@.*") { /* international */ rewritehostport("yyy.yyy.yyy.yyy:5060") /* ip of intl. box */ } else { // fall thru logic here }
/* forward the request to the proper gateway */ if(!t_relay()) { sl_reply_error(); break; } </snip>
How do I put phone numbers on the SIP server and not username and passwords especially with the fact that cisco gateway doesn't register with SIP server.
Just make the username numeric only or if you prefer add a numeric alias for each of your usernames. You can always disable authentication in ser.cfg or allow certain IP addresses to get thru without authentication. Look at the www(proxy)_authorize(challenge)
(How can I be adding phone numbers/IP address listings of the gateways to the SIP server without creating users)
Even tho the CISCO boxes don't register on their own, you can manually register them on the SER box by using the serctl utility. That way other UAs can dial-up the CISCO box to listen to an IVR for example.
Thanks, AKIN
Hope it helps if not just email me back :)
Alex.