Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] call getting pre-answered


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
xtpl.gayatri at gmail.com
Guest





PostPosted: Sat Sep 13, 2008 9:40 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

Hi
I am running this script:

session.answer();
var fd = new File("temp.txt");
var buff = fd.read(10);
console_log("notice","\nYou are trying to reach "+buff+"\n");
route = "sofia/gateway/net4india/"+buff;
session.execute("bridge", route);
session.waitForAnswer(5000);
console_log("notice", "Disconnect cause: " + session.cause + "\n");


Freeswitch does get the number, originates a new hannel for it but it pre-answers the call !!!!
I am not able to figure out why?!!!!

if I read DTMF and bridge the call I.e.

route = "sofia/gateway/net4india" + dtmf.digits;
session.execute("bridge", route);

It works perfectly fine!

Here's what the console of FS looks like:

2008-09-13 07:13:19 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [1eb5e917-82cb-6f4b-96da-ac75a3b2b25c]
2008-09-13 07:13:20 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Gay
atri->1200@default
2008-09-13 07:13:20 [NOTICE] mod_spidermonkey.c:2034 session_answer() Channel [s
ofia/internal/1001@58.68.117.40 ([email]ofia/internal/1001@58.68.117.40[/email])] has been answered
2008-09-13 07:13:20 [ERR] readFile.js:36 mod_spidermonkey() File C:\Program Fil
es\FreeSWITCH\scripts\temp.txt is closed, will open it for reading, proceeding
2008-09-13 07:13:20 [NOTICE] readFile.js:1 console_log()
You are trying to reach 1408512193
2008-09-13 07:13:21 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/1408512193 [66dddbc2-58e1-3e4e-8a82-4c32cea51156]
2008-09-13 07:13:23 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/455 [f9a48afa-b08a-2941-9b64-3eb949aa6f95]
2008-09-13 07:13:24 [NOTICE] sofia.c:2183 sofia_handle_sip_i_state() Ring-Ready
sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia_glue.c:2027 sofia_glue_tech_media() Pre-Answe
r sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/455 [CS_CONSUME_MEDIA] [CALL_REJECTED]

2008-09-13 07:13:25 [ERR] mod_xml_cdr.c:115 my_on_hangup() Error writing [C:\Pro
gram Files\FreeSWITCH\log\xml_cdr\f9a48afa-b08a-2941-9b64-3eb949aa6f95.cdr.xml][
No such file or directory]
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 8 (sofia/external/455) Ended
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/455 [CS_HANGUP]
2008-09-13 07:13:25 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/1408512193 [CS_EXCHANGE_MEDIA] [INVALID_NUMBER_FORMAT]
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 7 (sofia/external/1408512193) Ended
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/1408512193 [CS_HANGUP]
2008-09-13 07:13:26 [NOTICE] readFile.js:1 console_log() Disconnect cause: NONE
2008-09-13 07:13:26 [NOTICE] switch_core_state_machine.c:157 switch_core_standar
d_on_execute() Hangup sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [CS_EXECUTE] [NORMAL_CLEA
RING]


if I call the destination with my cell phone, it rings - meaning the set is in correct place - on hook!
Why would FS find it off-hook?!!

Regards,
Gayatri Kulkarni

-----
Whenever you find yourself on the side of the majority, it is time to pause and reflect.
Back to top
ruchir.brahmbhatt at e...
Guest





PostPosted: Sat Sep 13, 2008 3:27 pm    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

I think you should remove following line.
session.answer();

Thanks,
Ruchir Brahmbhatt
Director
Ecosmob Technologies Pvt. Ltd.

-----Original Message-----
From: Gayatri Kulkarni <xtpl.gayatri@gmail.com ([email]Gayatri%20Kulkarni%20%3cxtpl.gayatri@gmail.com%3e[/email])>
Reply-To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] call getting pre-answered
Date: Sat, 13 Sep 2008 07:31:21 -0700

Hi I am running this script: session.answer();
var fd = new File("temp.txt");
var buff = fd.read(10);
console_log("notice","\nYou are trying to reach "+buff+"\n");
route = "sofia/gateway/net4india/"+buff;
session.execute("bridge", route);
session.waitForAnswer(5000);
console_log("notice", "Disconnect cause: " + session.cause + "\n"); Freeswitch does get the number, originates a new hannel for it but it pre-answers the call !!!! I am not able to figure out why?!!!! if I read DTMF and bridge the call I.e. route = "sofia/gateway/net4india" + dtmf.digits; session.execute("bridge", route);

It works perfectly fine! Here's what the console of FS looks like: 2008-09-13 07:13:19 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [1eb5e917-82cb-6f4b-96da-ac75a3b2b25c]
2008-09-13 07:13:20 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Gay
atri->1200@default
2008-09-13 07:13:20 [NOTICE] mod_spidermonkey.c:2034 session_answer() Channel [s
ofia/internal/1001@58.68.117.40 ([email]ofia/internal/1001@58.68.117.40[/email])] has been answered
2008-09-13 07:13:20 [ERR] readFile.js:36 mod_spidermonkey() File C:\Program Fil
es\FreeSWITCH\scripts\temp.txt is closed, will open it for reading, proceeding
2008-09-13 07:13:20 [NOTICE] readFile.js:1 console_log()
You are trying to reach 1408512193
2008-09-13 07:13:21 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/1408512193 [66dddbc2-58e1-3e4e-8a82-4c32cea51156]
2008-09-13 07:13:23 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/455 [f9a48afa-b08a-2941-9b64-3eb949aa6f95]
2008-09-13 07:13:24 [NOTICE] sofia.c:2183 sofia_handle_sip_i_state() Ring-Ready
sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia_glue.c:2027 sofia_glue_tech_media() Pre-Answe
r sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/455 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2008-09-13 07:13:25 [ERR] mod_xml_cdr.c:115 my_on_hangup() Error writing [C:\Pro
gram Files\FreeSWITCH\log\xml_cdr\f9a48afa-b08a-2941-9b64-3eb949aa6f95.cdr.xml][
No such file or directory]
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 8 (sofia/external/455) Ended
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/455 [CS_HANGUP]
2008-09-13 07:13:25 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/1408512193 [CS_EXCHANGE_MEDIA] [INVALID_NUMBER_FORMAT]
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 7 (sofia/external/1408512193) Ended
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/1408512193 [CS_HANGUP]
2008-09-13 07:13:26 [NOTICE] readFile.js:1 console_log() Disconnect cause: NONE
2008-09-13 07:13:26 [NOTICE] switch_core_state_machine.c:157 switch_core_standar
d_on_execute() Hangup sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [CS_EXECUTE] [NORMAL_CLEA
RING] if I call the destination with my cell phone, it rings - meaning the set is in correct place - on hook! Why would FS find it off-hook?!! Regards,
Gayatri Kulkarni -----
Whenever you find yourself on the side of the majority, it is time to pause and reflect.

Quote:

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
xtpl.gayatri at gmail.com
Guest





PostPosted: Mon Sep 15, 2008 5:36 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

nope
it still says INVALID_NUMBER_FORMAT

I put this is the dialplan:

<action application="set" data="continue_on_fail=NO_ROUTE_DESTINATION, INVALID_NUMBER_FORMAT, DESTINATION_OUT_OF_ORDER"/>


still it says

freeswitch@Comp36 ([email]freeswitch@Comp36[/email])> 2008-09-15 02:15:55 [NOTICE] writeFile.js:1 console_log() des
tination.txt created2008-09-15 02:15:56 [ERR] mod_sofia.c:1860 sofia_outgoing_ch
annel() Invalid URL
2008-09-15 02:15:56 [NOTICE] mod_sofia.c:2059 sofia_outgoing_channel() Close Cha
nnel N/A [CS_NEW]
2008-09-15 02:15:56 [ERR] switch_ivr_originate.c:926 switch_ivr_originate() Cann
ot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]


Regards,
Gayatri Kulkarni

-----
Whenever you find yourself on the side of the majority, it is time to pause and reflect.



From: Ruchir Brahmbhatt (ruchir.brahmbhatt@ecosmob.com)
Sent: Saturday, September 13, 2008 1:26 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] call getting pre-answered




I think you should remove following line.
session.answer();

Thanks,
Ruchir Brahmbhatt
Director
Ecosmob Technologies Pvt. Ltd.

-----Original Message-----
From: Gayatri Kulkarni <xtpl.gayatri@gmail.com (xtpl.gayatri@gmail.com)>
Reply-To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] call getting pre-answered
Date: Sat, 13 Sep 2008 07:31:21 -0700

Hi I am running this script: session.answer();
var fd = new File("temp.txt");
var buff = fd.read(10);
console_log("notice","\nYou are trying to reach "+buff+"\n");
route = "sofia/gateway/net4india/"+buff;
session.execute("bridge", route);
session.waitForAnswer(5000);
console_log("notice", "Disconnect cause: " + session.cause + "\n"); Freeswitch does get the number, originates a new hannel for it but it pre-answers the call !!!! I am not able to figure out why?!!!! if I read DTMF and bridge the call I.e. route = "sofia/gateway/net4india" + dtmf.digits; session.execute("bridge", route);

It works perfectly fine! Here's what the console of FS looks like: 2008-09-13 07:13:19 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [1eb5e917-82cb-6f4b-96da-ac75a3b2b25c]
2008-09-13 07:13:20 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Gay
atri->1200@default
2008-09-13 07:13:20 [NOTICE] mod_spidermonkey.c:2034 session_answer() Channel [s
ofia/internal/1001@58.68.117.40 ([email]ofia/internal/1001@58.68.117.40[/email])] has been answered
2008-09-13 07:13:20 [ERR] readFile.js:36 mod_spidermonkey() File C:\Program Fil
es\FreeSWITCH\scripts\temp.txt is closed, will open it for reading, proceeding
2008-09-13 07:13:20 [NOTICE] readFile.js:1 console_log()
You are trying to reach 1408512193
2008-09-13 07:13:21 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/1408512193 [66dddbc2-58e1-3e4e-8a82-4c32cea51156]
2008-09-13 07:13:23 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/455 [f9a48afa-b08a-2941-9b64-3eb949aa6f95]
2008-09-13 07:13:24 [NOTICE] sofia.c:2183 sofia_handle_sip_i_state() Ring-Ready
sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia_glue.c:2027 sofia_glue_tech_media() Pre-Answe
r sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/455 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2008-09-13 07:13:25 [ERR] mod_xml_cdr.c:115 my_on_hangup() Error writing [C:\Pro
gram Files\FreeSWITCH\log\xml_cdr\f9a48afa-b08a-2941-9b64-3eb949aa6f95.cdr.xml][
No such file or directory]
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 8 (sofia/external/455) Ended
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/455 [CS_HANGUP]
2008-09-13 07:13:25 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/1408512193 [CS_EXCHANGE_MEDIA] [INVALID_NUMBER_FORMAT]
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 7 (sofia/external/1408512193) Ended
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/1408512193 [CS_HANGUP]
2008-09-13 07:13:26 [NOTICE] readFile.js:1 console_log() Disconnect cause: NONE
2008-09-13 07:13:26 [NOTICE] switch_core_state_machine.c:157 switch_core_standar
d_on_execute() Hangup sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [CS_EXECUTE] [NORMAL_CLEA
RING] if I call the destination with my cell phone, it rings - meaning the set is in correct place - on hook! Why would FS find it off-hook?!! Regards,
Gayatri Kulkarni -----
Whenever you find yourself on the side of the majority, it is time to pause and reflect.

Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
ruchir.brahmbhatt at e...
Guest





PostPosted: Mon Sep 15, 2008 6:29 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

Try route = "sofia/gateway/" + buff + "@net4india";

Thanks,
Ruchir Brahmbhatt
Director
Ecosmob Technologies Pvt. Ltd.

-----Original Message-----
From: Gayatri Kulkarni <xtpl.gayatri@gmail.com ([email]Gayatri%20Kulkarni%20%3cxtpl.gayatri@gmail.com%3e[/email])>
Reply-To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] call getting pre-answered
Date: Mon, 15 Sep 2008 02:21:53 -0700

nope it still says INVALID_NUMBER_FORMAT I put this is the dialplan: <action application="set" data="continue_on_fail=NO_ROUTE_DESTINATION, INVALID_NUMBER_FORMAT, DESTINATION_OUT_OF_ORDER"/> still it says
freeswitch@Comp36 ([email]freeswitch@Comp36[/email])> 2008-09-15 02:15:55 [NOTICE] writeFile.js:1 console_log() des
tination.txt created2008-09-15 02:15:56 [ERR] mod_sofia.c:1860 sofia_outgoing_ch
annel() Invalid URL
2008-09-15 02:15:56 [NOTICE] mod_sofia.c:2059 sofia_outgoing_channel() Close Cha
nnel N/A [CS_NEW]
2008-09-15 02:15:56 [ERR] switch_ivr_originate.c:926 switch_ivr_originate() Cann
ot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]

Regards,
Gayatri Kulkarni -----
Whenever you find yourself on the side of the majority, it is time to pause and reflect.



From: Ruchir Brahmbhatt (ruchir.brahmbhatt@ecosmob.com) Sent: Saturday, September 13, 2008 1:26 PM To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org) Subject: Re: [Freeswitch-users] call getting pre-answered

I think you should remove following line.
session.answer();

Thanks,
Ruchir Brahmbhatt
Director
Ecosmob Technologies Pvt. Ltd.

-----Original Message-----
From: Gayatri Kulkarni <xtpl.gayatri@gmail.com (xtpl.gayatri@gmail.com)>
Reply-To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] call getting pre-answered
Date: Sat, 13 Sep 2008 07:31:21 -0700

Hi I am running this script: session.answer();
var fd = new File("temp.txt");
var buff = fd.read(10);
console_log("notice","\nYou are trying to reach "+buff+"\n");
route = "sofia/gateway/net4india/"+buff;
session.execute("bridge", route);
session.waitForAnswer(5000);
console_log("notice", "Disconnect cause: " + session.cause + "\n"); Freeswitch does get the number, originates a new hannel for it but it pre-answers the call !!!! I am not able to figure out why?!!!! if I read DTMF and bridge the call I.e. route = "sofia/gateway/net4india" + dtmf.digits; session.execute("bridge", route);

It works perfectly fine! Here's what the console of FS looks like: 2008-09-13 07:13:19 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [1eb5e917-82cb-6f4b-96da-ac75a3b2b25c]
2008-09-13 07:13:20 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Gay
atri->1200@default
2008-09-13 07:13:20 [NOTICE] mod_spidermonkey.c:2034 session_answer() Channel [s
ofia/internal/1001@58.68.117.40 ([email]ofia/internal/1001@58.68.117.40[/email])] has been answered
2008-09-13 07:13:20 [ERR] readFile.js:36 mod_spidermonkey() File C:\Program Fil
es\FreeSWITCH\scripts\temp.txt is closed, will open it for reading, proceeding
2008-09-13 07:13:20 [NOTICE] readFile.js:1 console_log()
You are trying to reach 1408512193
2008-09-13 07:13:21 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/1408512193 [66dddbc2-58e1-3e4e-8a82-4c32cea51156]
2008-09-13 07:13:23 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/external/455 [f9a48afa-b08a-2941-9b64-3eb949aa6f95]
2008-09-13 07:13:24 [NOTICE] sofia.c:2183 sofia_handle_sip_i_state() Ring-Ready
sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia_glue.c:2027 sofia_glue_tech_media() Pre-Answe
r sofia/external/1408512193!
2008-09-13 07:13:24 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/455 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2008-09-13 07:13:25 [ERR] mod_xml_cdr.c:115 my_on_hangup() Error writing [C:\Pro
gram Files\FreeSWITCH\log\xml_cdr\f9a48afa-b08a-2941-9b64-3eb949aa6f95.cdr.xml][
No such file or directory]
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 8 (sofia/external/455) Ended
2008-09-13 07:13:25 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/455 [CS_HANGUP]
2008-09-13 07:13:25 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofi
a/external/1408512193 [CS_EXCHANGE_MEDIA] [INVALID_NUMBER_FORMAT]
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 7 (sofia/external/1408512193) Ended
2008-09-13 07:13:26 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/external/1408512193 [CS_HANGUP]
2008-09-13 07:13:26 [NOTICE] readFile.js:1 console_log() Disconnect cause: NONE
2008-09-13 07:13:26 [NOTICE] switch_core_state_machine.c:157 switch_core_standar
d_on_execute() Hangup sofia/internal/1001@58.68.117.40 ([email]sofia/internal/1001@58.68.117.40[/email]) [CS_EXECUTE] [NORMAL_CLEA
RING] if I call the destination with my cell phone, it rings - meaning the set is in correct place - on hook! Why would FS find it off-hook?!! Regards,
Gayatri Kulkarni -----
Whenever you find yourself on the side of the majority, it is time to pause and reflect.

Quote:

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Quote:

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Sep 15, 2008 8:41 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

its sofia/gateway/net2india/buff

/b

On Sep 15, 2008, at 6:23 AM, Ruchir Brahmbhatt wrote:
Quote:
Try route = "sofia/gateway/" + buff + "@net4india";


Brian West
[url=sip:brian@freeswitch.org]sip:brian@freeswitch.org[/url]
Back to top
bsnipes at snipes.org
Guest





PostPosted: Mon Sep 15, 2008 9:19 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

Would the spaces between the continue_on_fail values cause an error?

Brian

On Mon, 15 Sep 2008 02:21:53 -0700
"Gayatri Kulkarni" <xtpl.gayatri@gmail.com> wrote:

Quote:
<action application="set"
data="continue_on_fail=NO_ROUTE_DESTINATION, INVALID_NUMBER_FORMAT,
DESTINATION_OUT_OF_ORDER"/>

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Sep 15, 2008 9:39 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

look at the sip traffic by adding TPORT_LOG=1 env var before you start FS

you will probably see the other end send you a 180 then a 183 then a 403

Try working on the assumption that your configuration is wrong and not the software and you will better luck getting it working Wink


On Mon, Sep 15, 2008 at 9:16 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Calls are getting pre-answered for a reason. Something is taking
place like early media and such to pre-answer the call which isn't
really an ANSWER yet. It just sets up media. Once the call is
actually answered then the clock starts ticking.

/b

On Sep 15, 2008, at 9:13 AM, Brian Snipes wrote:

Quote:
Would the spaces between the continue_on_fail values cause an error?

Brian


Brian West
sip:brian@freeswitch.org ([email]sip%3Abrian@freeswitch.org[/email])









_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Sep 15, 2008 10:13 am    Post subject: [Freeswitch-users] call getting pre-answered Reply with quote

Calls are getting pre-answered for a reason. Something is taking
place like early media and such to pre-answer the call which isn't
really an ANSWER yet. It just sets up media. Once the call is
actually answered then the clock starts ticking.

/b

On Sep 15, 2008, at 9:13 AM, Brian Snipes wrote:

Quote:
Would the spaces between the continue_on_fail values cause an error?

Brian

Brian West
sip:brian@freeswitch.org







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services