Page 2 of 5

Posted: Wed Dec 12, 2007 2:04 am
by Aaron
emoci wrote:Made some changes to the original post, especially in regards to optional features of the Dial Plan expression...

If Aaron or gbonnet has some time, do read over it to make sure I didn't mess anything up
Hi emoci,

Thanks a lot for that you've distilled it nicely!

One very minor point is that "Natural Expressions" should be "Regular Expressions".

Also it would be woth mentioning the Trace option as this can help quickly isolate issues if a problem is encountered on a call.

exten => _X.,1,SwitchCall(user,pass,${dst}@sip.blueface.ie,From User, Server, True)

By setting the last parameter as True a trace of the call will be recorded and emailed to the sipswitch owner of the call after it's complete. Providing a trace of a problematic call mkaes it a lot easier to troubleshoot :).

Thanks again,

Aaron

Posted: Wed Dec 12, 2007 8:33 am
by gbonnet
Hi Emoci,

Thanks a lot for helping like that. That surely is useful to everyone.

;)

Posted: Wed Dec 12, 2007 6:21 pm
by TheFug
Yeah...... wow, i've got something to do, to translate that for the Dutch version :shock:

Posted: Tue Jan 15, 2008 2:37 pm
by jj
Aaron wrote: By setting the last parameter as True a trace of the call will be recorded and emailed to the sipswitch owner of the call after it's complete. Providing a trace of a problematic call mkaes it a lot easier to troubleshoot :).
It seems that this debug option does not work for me. I configured my e-mail address (and received a confirmation e-mail to this address) but I do not get any e-mails with debug info despite the last parameter is set to True.

Any idea what I can do to make it work?

Posted: Tue Jan 15, 2008 3:21 pm
by gbonnet
Hi JJ

If you are not using the optional parameters, you need to make sure you have the right number of comas, for instance: ${EXTEN}@sip.blueface.ie,,,True) is working fine for me.
Let me know if you are still not receiving anything.

Posted: Tue Jan 15, 2008 5:16 pm
by satphoneguy
gbonnet wrote:Hi JJ

If you are not using the optional parameters, you need to make sure you have the right number of comas, for instance: ${EXTEN}@sip.blueface.ie,,,True) is working fine for me.
Let me know if you are still not receiving anything.
my experience is that the call trace does not work with the switchcall function but only for calls from a registered device. it would be nice if switchcall could be added.

spg

Posted: Tue Jan 15, 2008 8:56 pm
by jj
satphoneguy wrote:my experience is that the call trace does not work with the switchcall function but only for calls from a registered device.
Thanks for the info! I tried this debugging function previously with my incoming rule which forwards the call to a provider. My phone is registered to this provider. And there was no e-mail.

I have just reconfigured my device and tried this with an outgoing rule and it works! Thanks a lot!

do not ring

Posted: Sun Jan 20, 2008 3:37 am
by usf
I follow the set up to my pap2 ( contact sip:myuserid@mysipswitch.com), I use gizmoproject call my mysipswitch, but it (ATA) do not ring.
mysipswitch call out function, it works.
Have any debug method to find out what is wrong?

Re: do not ring

Posted: Wed Jan 30, 2008 6:15 pm
by emoci
usf wrote:I follow the set up to my pap2 ( contact sip:myuserid@mysipswitch.com), I use gizmoproject call my mysipswitch, but it (ATA) do not ring.
mysipswitch call out function, it works.
Have any debug method to find out what is wrong?
Just make sure of the following:

On your ATA:
Username: Your MySipSwitchUsername
Password: Your Password
Host/Proxy: sip.mysipswitch.com
Make sure to have the ATA register with the server

Second, inside MySipSwitch (if I get this correctly you want Gizmo to ring MySipSwitch):
Perform a registration for Gizmo and point it to username@sip.mysipswitch.com for the contact address

Re: do not ring

Posted: Wed Jan 30, 2008 7:10 pm
by satphoneguy
usf wrote:I follow the set up to my pap2 ( contact sip:myuserid@mysipswitch.com), I use gizmoproject call my mysipswitch, but it (ATA) do not ring.
mysipswitch call out function, it works.
Have any debug method to find out what is wrong?
there appears to be a recent change at gizmo and you have to use your gizmo number(1747xxxxxxx) instead of your username on registrations. all my gizmo accounts failed until i made the change; now they are working again.