instead of t_relay_to("xxx.xxx.xxx.xxx","5060"); try rewritehostport("xxx.xxx.xxx.xxx:5060");
-----Original Message----- From: budi wibowo [mailto:bu1d@yahoo.com] Sent: Friday, April 18, 2003 09:54 To: serusers@lists.iptel.org Subject: [Serusers] pstn connectivity
hi i'm new guy in this list and i have a litle problem with connectivity to psnt thru cisco as5300 below is my ser.cfg, yyy.yyy.yyy.yyy is ip of ser and xx.xxx.xxx.xxx is ip of the cisco gw
if (uri=~"^sip:[0-9]*@yyy.yyy.yyy.yyy"){ log("Forward to pstn \n"); t_relay_to("xxx.xxx.xxx.xxx","5060"); break; };
and i have this on my cisco ! dial-peer voice 4 voip incoming called number . destination-pattern 2525T session protocol sipv2 session target sip-server codec g723r63 ! ! sip-ua calling-info sip-to-pstn number set 113950029 sip-server ipv4:yyy.yyy.yy.yyyy !
my pproblem is.. i cant if i dial to 252544123 from my softphone , it's not work but when i dial with format 252544123@xxx.xxx.xxx.xxx it always work anyone have clue for my problem? thx
budi
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
dear all i repeat my problem - pc running ser with ip 111.111.111.111 - cisco 5350 with dial-peer to sip-server with ip 222.222.222.222 - remote pc running sip softphone
i have read austin how to.. regarding how to connect to cisco gw but it's not work example ..i want to dial to singapore with pattern 113 if i dial from my softphone 1136523456 it always failed, but if dial using 1136523456@222.222.222.222 it always work . is there anything missing on my config?
rgds
budi
__________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Sounds like you softphone do not know where to send a request if you omit the host part. Is the request sent by the softphone if you omit the host part? Is the request received at the server? Do the server deliver the request if it received it? and so on and on and on...
Greetings Nils
On Saturday 19 April 2003 04:31, budi wibowo wrote:
dear all i repeat my problem
- pc running ser with ip 111.111.111.111
- cisco 5350 with dial-peer to sip-server with ip
222.222.222.222
- remote pc running sip softphone
i have read austin how to.. regarding how to connect to cisco gw but it's not work example ..i want to dial to singapore with pattern 113 if i dial from my softphone 1136523456 it always failed, but if dial using 1136523456@222.222.222.222 it always work . is there anything missing on my config?
rgds
budi
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
- the request sent by the softphone - to check the request on server ..how i do that - i do debug ccsip all on my gateway and i saw something uncomplete for the request , like the translation rule not work properly but i include the ip of cisco gw eerything is normal any clue? or any suggestion which softphone i should use?
boedz
--- Nils Ohlmeier nils@iptel.org wrote:
Sounds like you softphone do not know where to send a request if you omit the host part. Is the request sent by the softphone if you omit the host part? Is the request received at the server? Do the server deliver the request if it received it? and so on and on and on...
Greetings Nils
On Saturday 19 April 2003 04:31, budi wibowo wrote:
dear all i repeat my problem
- pc running ser with ip 111.111.111.111
- cisco 5350 with dial-peer to sip-server with ip
222.222.222.222
- remote pc running sip softphone
i have read austin how to.. regarding how to
connect
to cisco gw but it's not work example ..i want to dial to singapore with pattern
113
if i dial from my softphone 1136523456 it always failed, but if dial using
1136523456@222.222.222.222
it always work . is there anything missing on my config?
rgds
budi
__________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Hi Budi, You can try this, I tested on my side and its work. Also you need to get a 12.2.X or higher image in cisco to make it work. I found older version have problem running sip.
In the /etc/ser/ser.cfg, You can try to put this # Uncomment this if you want to use digest authentication if (!www_authorize("mydomain.net", "subscriber")) {
www_challenge("mydomain.net", "0"); break; };
save("location"); break; };
# Hand off to cisco if (uri=~"^sip:123[0-9]*@mydomain.net") { log("Forwarding to PSTN\n"); t_relay_to("111.111.111.111", "5060"); break; };
Hope this help, Trung --- budi wibowo bu1d@yahoo.com wrote:
dear all i repeat my problem
- pc running ser with ip 111.111.111.111
- cisco 5350 with dial-peer to sip-server with ip
222.222.222.222
- remote pc running sip softphone
i have read austin how to.. regarding how to connect to cisco gw but it's not work example ..i want to dial to singapore with pattern 113 if i dial from my softphone 1136523456 it always failed, but if dial using 1136523456@222.222.222.222 it always work . is there anything missing on my config?
rgds
budi
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
maybe decsribing your problem would help better than repeating it. What does it mean it does not work? How are message dumps?
(I thought the previous proposal on the mailing list would fix the issue I would guess too to be misconfigured in your installation -- did you do it?)
-Jiri
At 04:31 AM 4/19/2003, budi wibowo wrote:
dear all i repeat my problem
- pc running ser with ip 111.111.111.111
- cisco 5350 with dial-peer to sip-server with ip
222.222.222.222
- remote pc running sip softphone
i have read austin how to.. regarding how to connect to cisco gw but it's not work example ..i want to dial to singapore with pattern 113 if i dial from my softphone 1136523456 it always failed, but if dial using 1136523456@222.222.222.222 it always work . is there anything missing on my config?
rgds
budi
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
does not work means .i cant forward call from my softphone. i always have to put number as 1136523456@222.222.222.222 instead of 1136523456 at my softphone
--- "serhelp (Jiri)" serhelp@lists.iptel.org wrote:
maybe decsribing your problem would help better than repeating it. What does it mean it does not work? How are message dumps?
(I thought the previous proposal on the mailing list would fix the issue I would guess too to be misconfigured in your installation -- did you do it?)
-Jiri
At 04:31 AM 4/19/2003, budi wibowo wrote:
dear all i repeat my problem
- pc running ser with ip 111.111.111.111
- cisco 5350 with dial-peer to sip-server with ip
222.222.222.222
- remote pc running sip softphone
i have read austin how to.. regarding how to
connect
to cisco gw but it's not work example ..i want to dial to singapore with pattern
113
if i dial from my softphone 1136523456 it always failed, but if dial using
1136523456@222.222.222.222
it always work . is there anything missing on my config?
rgds
budi
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Excuse my roughness but you problem description is somewhat like "i always have to enter bu1d@yahoo.com into my email client instead of just bu1d. what's wrong". (We are not the windows help desk here.) Because most of the readers here are no gods, probably nobody can guess from such a simple problem description whats wrong.
Do it like this: " My enviroment looks like this:
softphone ---- ser --- pstn-gw x.x.x.x y.y.y.y z.z.z.z
I want this and that... This is working... But that not... I verified with ngrep (see 1.8 at Dan's How-To if you really read it) that the request are going from my softphone to ser, but then not further to the pstn-gateway. Please find attached my Ser configuration, the network dumps (taken with ngrep or tcpdump) and the ser log file. "
To your problem: because i (sadly) have no crystal ball i have to guess that you configured the ser hosts as the outgoing proxy for your softphone. But how should Ser know where to route a request if the host part is missing in the request uri? You have to configure Ser appropriatly! But without a crystall ball or your Ser configuration we can not magicly create a configuration which fits your requirements. Guess what you should send us :-)
Regards Nils Ohlmeier
On Monday 21 April 2003 04:19, budi wibowo wrote:
does not work means .i cant forward call from my softphone. i always have to put number as 1136523456@222.222.222.222 instead of 1136523456 at my softphone
--- "serhelp (Jiri)" serhelp@lists.iptel.org wrote:
maybe decsribing your problem would help better than repeating it. What does it mean it does not work? How are message dumps?
(I thought the previous proposal on the mailing list would fix the issue I would guess too to be misconfigured in your installation -- did you do it?)
-Jiri
At 04:31 AM 4/19/2003, budi wibowo wrote:
dear all i repeat my problem
- pc running ser with ip 111.111.111.111
- cisco 5350 with dial-peer to sip-server with ip
222.222.222.222
- remote pc running sip softphone
i have read austin how to.. regarding how to
connect
to cisco gw but it's not work example ..i want to dial to singapore with pattern
113
if i dial from my softphone 1136523456 it always failed, but if dial using
1136523456@222.222.222.222
it always work . is there anything missing on my config?
rgds
budi
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers