[Serusers] Handoff to PSTN

Colin Jordan cjordan at econetwireless.com
Fri Sep 16 09:28:00 CEST 2005


Where should I insert it in the code below?

 

# attempt handoff to PSTN

if (uri=~“^sip:9[0-9]*@mydomain.com”) { 

log(“Forwarding to PSTN\n”); 

t_relay_to( “192.168.0.2”, “5060”); 

break;

};

 

 

  _____  

From: Olivier Taylor [mailto:olivier.taylor at gmail.com] 
Sent: Thursday, September 15, 2005 4:00 PM
To: 'Colin Jordan'
Cc: serusers at lists.iptel.org
Subject: RE : [Serusers] Handoff to PSTN

 

prefix("666")

-----Message d'origine-----
De : serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] De la
part de Colin Jordan
Envoyé : jeudi 15 septembre 2005 15:19
À : 'Olivier Taylor'
Cc : serusers at lists.iptel.org
Objet : RE: [Serusers] Handoff to PSTN

The PSTN has given me a prefix of 666# to dial before the number, where can
I insert this so that it will allow me to make a call?

 


  _____  


From: Olivier Taylor [mailto:olivier.taylor at gmail.com] 
Sent: Thursday, September 15, 2005 2:58 PM
To: 'Colin Jordan'
Cc: serusers at lists.iptel.org
Subject: RE : [Serusers] Handoff to PSTN

 

module tm

-----Message d'origine-----
De : Colin Jordan [mailto:cjordan at econetwireless.com] 
Envoyé : jeudi 15 septembre 2005 14:55
À : 'Olivier Taylor'
Cc : serusers at lists.iptel.org
Objet : RE: [Serusers] Handoff to PSTN

t_relay_to( “192.168.0.2”, “5060”); 

 

 


  _____  


From: Olivier Taylor [mailto:olivier.taylor at gmail.com] 
Sent: Thursday, September 15, 2005 2:50 PM
To: 'Colin Jordan'
Cc: serusers at lists.iptel.org
Subject: RE : [Serusers] Handoff to PSTN

 

what's on the line 143???

-----Message d'origine-----
De : Colin Jordan [mailto:cjordan at econetwireless.com] 
Envoyé : jeudi 15 septembre 2005 14:46
À : 'Olivier Taylor'
Cc : serusers at lists.iptel.org
Objet : RE: [Serusers] Handoff to PSTN

The line 143  points to the script below. What modules will it be looking
for?

 


  _____  


From: Olivier Taylor [mailto:olivier.taylor at gmail.com] 
Sent: Thursday, September 15, 2005 2:33 PM
To: 'Colin Jordan'
Cc: serusers at lists.iptel.org
Subject: RE : [Serusers] Handoff to PSTN

 

please reply to all

 

u have a module not loaded, the one involved on line 143

 

 

Olivier

 

 -----Message d'origine-----
De : Colin Jordan [mailto:cjordan at econetwireless.com] 
Envoyé : jeudi 15 septembre 2005 14:28
À : 'Olivier Taylor'
Objet : RE: [Serusers] Handoff to PSTN

It gives me the following message:

_______________________________________________________

 

Parse error (143,40-41): unknown command missing loadmodule?

_______________________________________________________


  _____  


From: Olivier Taylor [mailto:olivier.taylor at gmail.com] 
Sent: Thursday, September 15, 2005 1:21 PM
To: 'Colin Jordan'; serusers-request at lists.iptel.org
Cc: serusers at lists.iptel.org
Subject: RE : [Serusers] Handoff to PSTN

 

just have a look at /var/log/messages  u will find the line number where the
error occurs

 

Olivier

-----Message d'origine-----
De : serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] De la
part de Colin Jordan
Envoyé : jeudi 15 septembre 2005 12:33
À : serusers-request at lists.iptel.org
Cc : serusers at lists.iptel.org
Objet : [Serusers] Handoff to PSTN

 

I am not able to restart ser if I put he code below in the ser.cfg to
handoff calls to PSTN.

 

# attempt handoff to PSTN

if (uri=~“^sip:9[0-9]*@mydomain.com”) { 

log(“Forwarding to PSTN\n”); 

t_relay_to( “192.168.0.2”, “5060”); 

break;

};

 

 

Please help!!!!

DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message
by
anyone else is unauthorized.If receiving in error please accept our
apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is
prohibited
and maybe
unlawful. 

DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message
by
anyone else is unauthorized.If receiving in error please accept our
apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is
prohibited
and maybe
unlawful. 

DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message
by
anyone else is unauthorized.If receiving in error please accept our
apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is
prohibited
and maybe
unlawful. 

DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message
by
anyone else is unauthorized.If receiving in error please accept our
apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is
prohibited
and maybe
unlawful. 

DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message
by
anyone else is unauthorized.If receiving in error please accept our
apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is
prohibited
and maybe
unlawful. 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050916/d5558f46/attachment.htm>


More information about the sr-users mailing list