[Freeswitch-users] I need help about my gateway

Александр Эдуардович sashker at sashker.ru
Sat Mar 20 21:31:12 PDT 2010


I tried to search information about my problem at the internet and local
sites/forums, but I didn't find solution.

My provider need in CONTACT field: "7455 at providerserver.com" (7455 - is
login on provider server), but FS send:
gw+gwname at mydomain.com<gw%2Bgwname at mydomain.com>
If I use option "<param name="extension-in-contact" value="true"/>" in my
gateway config - FS send this: "7455 at mydomain.com".

As a result, my external calls didn't send over this provider:

"2010-03-20 17:56:30.852222 [NOTICE] switch_channel.c:669 New Channel
sofia/external/7451 [0ab674ec-bc8c-48e0-9235-
2010-03-20 17:56:30.915402 [NOTICE] sofia.c:4788 Hangup sofia/external/7451
2010-03-20 17:56:30.918438 [NOTICE] switch_core_session.c:1179 Session 28
(sofia/external/7451) Ended
2010-03-20 17:56:30.918438 [NOTICE] switch_core_session.c:1181 Close Channel
sofia/external/7451 [CS_DESTROY]
2010-03-20 17:56:30.919604 [INFO] mod_dptools.c:2353 Originate Failed.
2010-03-20 17:56:30.919604 [NOTICE] mod_dptools.c:2416 Hangup
sofia/internal/1000 at mydomain.com [CS_EXECUTE] [NO_ROUTE_DESTINATION]
2010-03-20 17:56:30.942906 [NOTICE] switch_core_session.c:1179 Session 27
(sofia/internal/1000 at mydomain.com) Ended
2010-03-20 17:56:30.942906 [NOTICE] switch_core_session.c:1181 Close Channel
sofia/internal/1000 at mydomain.com [CS_DESTROY]"

My gateway config:

  <gateway name="gwname">
     <param name="username" value="7455"/>
      <param name="realm" value="providerserver.com"/>
     <param name="from-user" value="7455"/>
      <param name="from-domain" value="providerserver.com"/>
      <param name="password" value="pass"/>
      <param name="extension" value="7455"/>
      <param name="proxy" value="providerserver.com"/>
      <param name="register-proxy" value="providerserver.com"/>
       <param name="expire-seconds" value="160"/>
 <param name="register" value="true"/>
     <param name="register-transport" value="udp"/>
     <param name="retry-seconds" value="30"/>
    <param name="extension-in-contact" value="true"/>
      <param name="caller-id-in-from" value="true"/>
      <param name="contact-params" value="tport=tcp"/>
      <param name="ping" value="25"/>

This gateway status in "sofia status": REGED.

Sorry for my bad english )))

Best regards, Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100321/4fca0d2f/attachment-0002.html 

More information about the FreeSWITCH-users mailing list