i just copied the dialplan given in wiki for record session but cant record or lets say first i cant initiate the call only, sofia says codec not found as soon as i hit dial on the dialer can some1 help in the xml as im trying to record calls made from a specific user whose account is created only and not in general for every1 -- View this message in context: http://www.nabble.com/cant-record-any-session-tp19594481p19594481.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Are you using bypass media? What exactly is the error? /b On Sep 21, 2008, at 8:29 AM, xbipin wrote:
i just copied the dialplan given in wiki for record session but cant record or lets say first i cant initiate the call only, sofia says codec not found as soon as i hit dial on the dialer
can some1 help in the xml as im trying to record calls made from a specific user whose account is created only and not in general for every1 -- View this message in context: http://www.nabble.com/cant-record-any-session-tp19594481p19594481.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
ok i marked bypass media as well as proxy media to default which was like commented, means marked as comment. With proxy media to enabled i used to get the error of cant find codec but after making it all to default config, im now getting this 2008-09-22 00:07:46 [ERR] mod_sndfile.c:175 sndfile_file_open() Error Opening Fi le [C:Program Files (x86)FreeSWITCH/recordings/2008-09-22-00-07-46_15194344406_b ipin.wav] [System error : The system cannot find the path specified. ] 2008-09-22 00:07:46 [ERR] switch_ivr_async.c:794 switch_ivr_record_session() Err or opening C:Program Files (x86)FreeSWITCH/recordings/2008-09-22-00-07-46_151943 44406_bipin.wav Brian West-3 wrote:
Are you using bypass media? What exactly is the error?
/b
On Sep 21, 2008, at 8:29 AM, xbipin wrote:
i just copied the dialplan given in wiki for record session but cant record or lets say first i cant initiate the call only, sofia says codec not found as soon as i hit dial on the dialer
can some1 help in the xml as im trying to record calls made from a specific user whose account is created only and not in general for every1 -- View this message in context: http://www.nabble.com/cant-record-any-session-tp19594481p19594481.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/cant-record-any-session-tp19594481p19597918.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
On Sep 21, 2008, at 4:11 PM, xbipin wrote:
ok i marked bypass media as well as proxy media to default which was like commented, means marked as comment. With proxy media to enabled i used to get the error of cant find codec but after making it all to default config, im now getting this
Correct, you can't do anything that interacts with the media if you are doing bypass or proxy modes.
2008-09-22 00:07:46 [ERR] mod_sndfile.c:175 sndfile_file_open() Error Opening Fi le [C:Program Files (x86)FreeSWITCH/recordings/2008-09-22-00-07-46_15194344406_b ipin.wav] [System error : The system cannot find the path specified. ]
Does it exist?
2008-09-22 00:07:46 [ERR] switch_ivr_async.c:794 switch_ivr_record_session() Err or opening C:Program Files (x86)FreeSWITCH/recordings/2008-09-22-00-07-46_151943 44406_bipin.wav
Mike
file doesnt exist but doesnt it need to create it by itself as u never know whose gonna call when and where. basically im looking for it to create the file and record in it so i can get a different file for each user, whats the point creating the file and then letting it record to it Michael Jerris wrote:
On Sep 21, 2008, at 4:11 PM, xbipin wrote:
ok i marked bypass media as well as proxy media to default which was like commented, means marked as comment. With proxy media to enabled i used to get the error of cant find codec but after making it all to default config, im now getting this
Correct, you can't do anything that interacts with the media if you are doing bypass or proxy modes.
2008-09-22 00:07:46 [ERR] mod_sndfile.c:175 sndfile_file_open() Error Opening Fi le [C:Program Files (x86)FreeSWITCH/recordings/2008-09-22-00-07-46_15194344406_b ipin.wav] [System error : The system cannot find the path specified. ]
Does it exist?
2008-09-22 00:07:46 [ERR] switch_ivr_async.c:794 switch_ivr_record_session() Err or opening C:Program Files (x86)FreeSWITCH/recordings/2008-09-22-00-07-46_151943 44406_bipin.wav
Mike
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/cant-record-any-session-tp19594481p19598411.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
On Sep 21, 2008, at 5:00 PM, xbipin wrote:
file doesnt exist but doesnt it need to create it by itself as u never know whose gonna call when and where. basically im looking for it to create the file and record in it so i can get a different file for each user, whats the point creating the file and then letting it record to it
It said Path (not file) does not exist. Does the directory its trying to create the file in exist?
yes it does Michael Jerris wrote:
On Sep 21, 2008, at 5:00 PM, xbipin wrote:
file doesnt exist but doesnt it need to create it by itself as u never know whose gonna call when and where. basically im looking for it to create the file and record in it so i can get a different file for each user, whats the point creating the file and then letting it record to it
It said Path (not file) does not exist. Does the directory its trying to create the file in exist?
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/cant-record-any-session-tp19594481p19598677.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Hi, I have a VERY simple FS setup. 1) Calls come in and go out via Vitelity. (I just route to their IP address, don't even need a gateway.) 2) I have users registered remotely with anything from a single SIP phone to an asterisk box. 3) Basically, I am a "pass through" of calls to and from Vitelity. I have my user registering their phones on my "default" context. Calls that come back in on a DID route through the public context. Outgoing calls work perfectly. My problem is with incoming calls. My users register with their DID as their username. So, when a call comes in on "323-555-1212", I want to route it to the device registered with the username of "3235551212". With my current setup, it is getting routed over to the default context, and then FS is attempting to DIAL THE DID BACK OUT. which creates a nasty loop. HOW CAN I TELL FS TO ROUTE A CALL TO A REGISTERED USER AS OPPOSED TO DIALING OUT??? My guess is that's its an adjustment to the "transfer" application in my public context??? Thanks, -Noah ----------------------------------------------------------------------------------------------------- I can call out just fine using the following in my dialplan: <context name="default"> <extension name="Vitelity"> <condition field="destination_number" expression="^(1{0,1}\d{10}) $"> <action application="set" data="effective_caller_id_number=12223334444"/> <!--<action application="bridge" data="sofia/gateway/vitelity/$1"/>--> <action application="bridge" data="sofia/external/$1@outbound1.vitelity.net "/> </condition> </extension> </context> <context name="public"> <extension name="inbound"> <condition field="destination_number" expression="^(3235551212)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> </context>
I would transfer to 1000 XML default for example. This is why you split inbound and outbound into two context's like you have it... but since you're sending the call into default as 10 digits I suspect it loops right back out. Also can you please not hijack threads. Click new message, input the address yourself and then send it. If you click reply, change the subject and body you're hijacking threads DO NOT DO THAT please. /b On Sep 21, 2008, at 5:05 PM, Noah Silverman wrote:
HOW CAN I TELL FS TO ROUTE A CALL TO A REGISTERED USER AS OPPOSED TO DIALING OUT???
My guess is that's its an adjustment to the "transfer" application in my public context???
Thanks,
-Noah
-----------------------------------------------------------------------------------------------------
I can call out just fine using the following in my dialplan:
<context name="default"> <extension name="Vitelity"> <condition field="destination_number" expression="^(1{0,1}\d{10}) $"> <action application="set" data="effective_caller_id_number=12223334444"/> <!--<action application="bridge" data="sofia/gateway/vitelity/$1"/
--> <action application="bridge" data="sofia/external/$1@outbound1.vitelity.net "/> </condition> </extension> </context>
<context name="public"> <extension name="inbound"> <condition field="destination_number" expression="^(3235551212)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> </context>
participants (4)
-
Brian West
-
Michael Jerris
-
Noah Silverman
-
xbipin