call forwarding how to test
Hi, I am trying to call forward from one extension to another extension.I configured default.xml and features.xml by following below link http://wiki.freeswitch.org/wiki/Call_Forward_Example Can anyone help me how do i test or activate the call forwarding in the extension. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
you need 3 extension phones - A, B and C. if u want B to forward calls to C, dial *72 on B. you will hear a dialtone. dial the extension number of C followed by #. from A, dial B. C should ring. to disable call forwarding, dial *73 on B then hangup. from A, dial B. B, this time, should ring. -nandy On Wed, Sep 14, 2011 at 3:09 AM, Aakash <aakashviswam@gmail.com> wrote:
Hi,
I am trying to call forward from one extension to another extension.I configured default.xml and features.xml by following below link
http://wiki.freeswitch.org/wiki/Call_Forward_Example
Can anyone help me how do i test or activate the call forwarding in the extension.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Hi Nandy, When i try to dialed the extension number of C followed by #. It shoe san error message in temporvary unavailable. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
did u get this message when activating call-forwarding *72? or when u dial C from A (or B)? your extension numbers should be at least 3 digits long. On Wed, Sep 14, 2011 at 5:04 AM, Aakash <aakashviswam@gmail.com> wrote:
Hi Nandy,
When i try to dialed the extension number of C followed by #. It shoe san error message in temporvary unavailable.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
When i try to dial *72 and entering the extension number eg 1020 and pressing # .I am getting an error Temporarily unavailable *72 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
is extension 1020 working? cuz the default configuration doesn't hv extension 1020. On Wed, Sep 14, 2011 at 9:54 PM, Aakash <aakashviswam@gmail.com> wrote:
When i try to dial *72 and entering the extension number eg 1020 and pressing # .I am getting an error Temporarily unavailable *72
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Hi Nandy, Its a working extension.I do no where i am wrong. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
what is the error message in the log? On Wed, Sep 14, 2011 at 11:23 PM, Aakash <aakashviswam@gmail.com> wrote:
Hi Nandy,
Its a working extension.I do no where i am wrong.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Please have a look on my logs http://pastebin.freeswitch.org/17330 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
That log looks perfect. Note line #108: EXECUTE sofia/internal/1210@sip.agshealth.com hash(insert/10.10.10.20 -call_forward/1210/1010) That's inserting the CF info into the database. This is working. Please pastebin the debug log of whatever isn't working. (I'm guessing that when someone calls "1210" it isn't CFing to 1010...) -MC On Wed, Sep 14, 2011 at 9:50 AM, Aakash <aakashviswam@gmail.com> wrote:
Please have a look on my logs
http://pastebin.freeswitch.org/17330
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
I am not getting any error in my logs.When i try to call 1210 from extension 1234 ,the call is not forwarding to extension 1010. logs for your reference http://pastebin.freeswitch.org/17333 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
Aakash, The trace you posted looks to me to be from 1210 to *72: 2011-09-14 19:01:00.932980 [INFO] mod_dialplan_xml.c:336 Processing VSI Tech <1210>->*72 in context default I don't see any indication of a call from 1234 to 1210. Perhaps you did not get the whole trace? -MC On Wed, Sep 14, 2011 at 10:56 AM, Aakash <aakashviswam@gmail.com> wrote:
I am not getting any error in my logs.When i try to call 1210 from extension 1234 ,the call is not forwarding to extension 1010.
logs for your reference http://pastebin.freeswitch.org/17333
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Please have a look -- http://pastebin.freeswitch.org/17333 You can see the indications like 2011-09-14 19:01:16.454118 [INFO] mod_dialplan_xml.c:336 Processing Aakash <1234>->1210 in context default -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
Apologies, I didn't look down far enough. Okay, what's happening is that the call from 1234 to 1210 is never hitting a dialplan extension that checks the value of the CF information that you entered with the *72 process. My guess is that you didn't do the part mentioned on this page: http://wiki.freeswitch.org/wiki/Call_Forward_Example ...under "Also, default.xml:" So, the questions are: Did you add the stuff to features.xml that the author shows? Did you add the "call_forwarding_number" extension to default.xml? If so, did you put it near the top of the file? (Don't forget that the dialplan is parsed in the order listed in the file, so if you put that "call_forwarding_number" too low in the file it won't be processed. I recommend putting as the first extension in the file, just to be safe.) Did you add the "is_forward" check inside the Local_Extension? (By the look of your log I'd say not...) If you want an alternative way of doing this then check out the call-forwarding example that I posted on the wiki. There's a link to "Simple CF with IVR" at the bottom of the wiki page that you are looking at. Perhaps the information I present will give you some more clarity on how these kinds of things work. I give a lot of explanatory text in that example, so check it out. Don't be discouraged - if you're new to all of this then the pains you're experiencing are part of the learning process. My advice is to keep hacking away at it. Also, buy our book! Darren and I wrote some good stuff in chapters 8 and 5 (respectively) on the dialplan and how it works. The book will help you build a good foundation. :) -MC On Wed, Sep 14, 2011 at 11:46 AM, Aakash <aakashviswam@gmail.com> wrote:
Please have a look -- http://pastebin.freeswitch.org/17333
You can see the indications like 2011-09-14 19:01:16.454118 [INFO] mod_dialplan_xml.c:336 Processing Aakash <1234>->1210 in context default
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Okay, I couldn't stand it! I added *72 and *73 to my example: http://wiki.freeswitch.org/wiki/Simple_CF_with_IVR If you follow the instructions on my page you'll have magic *72/*73 for setting and canceling. Also, feel free to omit the 909x extensions that I show unless you like the idea of being able to set and cancel from a remote location... :) -MC On Wed, Sep 14, 2011 at 3:50 PM, Michael Collins <msc@freeswitch.org> wrote:
Apologies, I didn't look down far enough.
Okay, what's happening is that the call from 1234 to 1210 is never hitting a dialplan extension that checks the value of the CF information that you entered with the *72 process. My guess is that you didn't do the part mentioned on this page:
http://wiki.freeswitch.org/wiki/Call_Forward_Example
...under "Also, default.xml:"
So, the questions are: Did you add the stuff to features.xml that the author shows? Did you add the "call_forwarding_number" extension to default.xml? If so, did you put it near the top of the file? (Don't forget that the dialplan is parsed in the order listed in the file, so if you put that "call_forwarding_number" too low in the file it won't be processed. I recommend putting as the first extension in the file, just to be safe.) Did you add the "is_forward" check inside the Local_Extension? (By the look of your log I'd say not...)
If you want an alternative way of doing this then check out the call-forwarding example that I posted on the wiki. There's a link to "Simple CF with IVR" at the bottom of the wiki page that you are looking at. Perhaps the information I present will give you some more clarity on how these kinds of things work. I give a lot of explanatory text in that example, so check it out.
Don't be discouraged - if you're new to all of this then the pains you're experiencing are part of the learning process. My advice is to keep hacking away at it. Also, buy our book! Darren and I wrote some good stuff in chapters 8 and 5 (respectively) on the dialplan and how it works. The book will help you build a good foundation. :)
-MC
On Wed, Sep 14, 2011 at 11:46 AM, Aakash <aakashviswam@gmail.com> wrote:
Please have a look -- http://pastebin.freeswitch.org/17333
You can see the indications like 2011-09-14 19:01:16.454118 [INFO] mod_dialplan_xml.c:336 Processing Aakash <1234>->1210 in context default
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Aakash, You can also try this: Add this in your dialplan for Local_Extension extension: <action application="execute_extension" data="is_forward XML features"/> before this line: <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/> And, make sure you have "is_forward" in features.xml so that when the system has it when you call. -djbinter On Wed, Sep 14, 2011 at 4:25 PM, Michael Collins <msc@freeswitch.org> wrote:
Okay, I couldn't stand it! I added *72 and *73 to my example:
http://wiki.freeswitch.org/wiki/Simple_CF_with_IVR
If you follow the instructions on my page you'll have magic *72/*73 for setting and canceling. Also, feel free to omit the 909x extensions that I show unless you like the idea of being able to set and cancel from a remote location... :)
-MC
On Wed, Sep 14, 2011 at 3:50 PM, Michael Collins <msc@freeswitch.org>wrote:
Apologies, I didn't look down far enough.
Okay, what's happening is that the call from 1234 to 1210 is never hitting a dialplan extension that checks the value of the CF information that you entered with the *72 process. My guess is that you didn't do the part mentioned on this page:
http://wiki.freeswitch.org/wiki/Call_Forward_Example
...under "Also, default.xml:"
So, the questions are: Did you add the stuff to features.xml that the author shows? Did you add the "call_forwarding_number" extension to default.xml? If so, did you put it near the top of the file? (Don't forget that the dialplan is parsed in the order listed in the file, so if you put that "call_forwarding_number" too low in the file it won't be processed. I recommend putting as the first extension in the file, just to be safe.) Did you add the "is_forward" check inside the Local_Extension? (By the look of your log I'd say not...)
If you want an alternative way of doing this then check out the call-forwarding example that I posted on the wiki. There's a link to "Simple CF with IVR" at the bottom of the wiki page that you are looking at. Perhaps the information I present will give you some more clarity on how these kinds of things work. I give a lot of explanatory text in that example, so check it out.
Don't be discouraged - if you're new to all of this then the pains you're experiencing are part of the learning process. My advice is to keep hacking away at it. Also, buy our book! Darren and I wrote some good stuff in chapters 8 and 5 (respectively) on the dialplan and how it works. The book will help you build a good foundation. :)
-MC
On Wed, Sep 14, 2011 at 11:46 AM, Aakash <aakashviswam@gmail.com> wrote:
Please have a look -- http://pastebin.freeswitch.org/17333
You can see the indications like 2011-09-14 19:01:16.454118 [INFO] mod_dialplan_xml.c:336 Processing Aakash <1234>->1210 in context default
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... 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
Please have a look on my logs http://pastebin.freeswitch.org/17330 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/call-forwarding-how-to-test-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
Aakash
-
DJB International
-
Michael Collins
-
Nandy Dagondon