[Serusers] Ser forwarding calls to cisco pstn

Fábio Silvestri fabio at informatec.com.br
Thu Jan 8 11:32:34 CET 2004


yup! ATA are behind a NAT! And solve this problem setting NATIP on ATA config 
with valid ip of my dsl modem!


Jan Janak wrote:
> Are the ATAs behind NAT ? If so then you would probably have to use the 
> nathelper module and configure your ser to traverse the NAT.
> 
>   Jan.
> 
> On 07-01 15:03, Fábio Silvestri wrote:
> 
>>Thanks by your reply!
>>
>>I'm already try this:
>>
>>      if (uri=~"^sip:*destination partern*") {
>>           log(1, ">==> going to pstn");
>>           prefix("999");
>>           t_relay_to_udp( "*cisco ipaddr*", "5060");
>>           break;
>>      }
>>
>>Can dial out, but I cant hear anything on my phone, including the ring 
>>signal!
>>Well, my ata196 are inside a dsl line...
>>
>>
>>
>>Alan Crosswell wrote:
>>
>>>Try this:
>>>
>>>/* ********** Dial out to PSTN logic ************* */
>>>
>>>
>>>               # 5 Digit dialing, interior calls
>>>               if (uri=~"^sip:[1347][0-9]{4}@columbia\.edu") {
>>>                       rewritehostport("128.59.59.242:5060");
>>>                       log(1,"5 digit expression match");
>>>                       route(2);
>>>                       break;
>>>               };
>>>
>>>
>>>       # 10 Digit dialing with outlide line
>>>       if (uri=~"^sip:931[0-9]{10}@columbia\.edu") {
>>>               if(!(src_ip=="128.59.59.242")
>>>           & !(proxy_authorize("columbia.edu","subscriber"))) {
>>>           proxy_challenge("columbia.edu", "1");
>>>           break;
>>>
>>>       } else {
>>>                       rewritehostport("128.59.59.242:5060");
>>>                       log(1," 93 Outside line with 10 digit expression 
>>>match");
>>>                       route(2);
>>>                       break;
>>>       };
>>>
>>>
>>>
>>>Fábio Silvestri wrote:
>>>
>>>
>>>>Hello!
>>>>
>>>>I'm trying to setup SER to forward calls to a cisco pstn (AS53xx), and 
>>>>have some dificults.
>>>>
>>>>Well, I'm get confused about Ser configs to do this, so maibe somebody 
>>>>can help-me!
>>>>
>>>>I have some clients, using Cisco ATA-186 trying to logging on my Ser 
>>>>server, and
>>>>I want to forward the calls to our PSTN, across dial plan.
>>>>
>>>>Now I have a Ser working and registering clients (I think), but I 
>>>>can't do Ser to interact with Cisco,
>>>>
>>>>How can I do configure the ser.cfg, maibe someone ser.cfg with samples 
>>>>will be helpful.
>>>>
>>>>Regards.
>>>>
>>>
>>>
>>-- 
>>|o
>>|o A probabilidade de sobreviv?ncia é inversamente proporcional ao
>>|o ângulo de aproximaç?o.
>>|o
>>|o Fabio Silvestri
>>|o fabio at informatec.com.br
>>|o ICQ: 1667351
>>|o
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
> 
> 

-- 
|o
|o Como sa~o admiráveis as pessoas que na~o conhecemos muito bem.
|o
|o Fabio Silvestri
|o fabio at informatec.com.br
|o ICQ: 1667351
|o




More information about the sr-users mailing list