[Freeswitch-users] Help with outgoing calls
Brian West
brian at freeswitch.org
Wed May 7 07:51:18 PDT 2008
Bill,
First off let me recommend not calling your gateway name by the ip
address and filling out the proxy param this is just for clarity.
Then can you tell me what provider this is? Some require from-user
and from-domain. If you like email me off list your info and I can
return you a working XML config for the gateway.
or
Start freeswitch like this:
TPORT_LOG=1 ./freeswitch
Then capture the console output with debug turned on:
ie console loglevel debug
Then post this to pastebin.freeswitch.org (user/pass is pastebin/
freeswitch)
Thanks,
Brian
On May 7, 2008, at 8:58 AM, Bill O'Neal wrote:
> Provider.xml located in directory:default: Note: I tried to register
> the provider through the sip_provider/outbound location but would
> not register. I have set up a simpledialplan to call my cell phone.
> The call comes in and connects fine but the outgoing doesn’t work.
> Below is the outgoing dial plan. Can anyone help – Thanks.
>
> - <include>
> - <user id="xxxxxxxxxx"> <!—sip provider user name same as phone
> number -->
> - <gateways>
> - <gateway name="xx.xxx.xx.xx"> <!—sip provider ip address à
> <param name="username" value="xxxxxxxxx" /> <!—sip provider user
> name, same as phone number -->
> <param name="password" value="xxxxxx" /> <!- Sip provider password
> <param name="expire-seconds" value="600" />
> <param name="register" value="true" />
> <param name="retry_seconds" value="5" />
>
> <param name="context" value="public" />
> </gateway>
> </gateways>
> - <params>
> <param name="password" value="xxxxxxxx" />
> </params>
> </user>
> </include>
>
> LLocated in my default.xml in the conf/dialplan
>
> - <extension name="outbound">
> - <condition field="destination_number"
> expression="mycellphonenumber">
> <action application="set"
> data
> =
> "effective_caller_id_number
> =sipproviderusername at sipprovideripaddress" />
> <action application="bridge" data="sofia/gateway/
> sipprovideripaddress/mycellphonenumber" />
> </condition>
> </extension>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080507/77d59064/attachment-0002.html
More information about the FreeSWITCH-users
mailing list