[Freeswitch-users] sofia_contact result
Gerald Weber
gerald.weber at besharp.at
Mon Jul 30 17:25:48 MSD 2012
With rely i mean, ist he host/ip always between '@' and ':' or are there any other combinations ?
sofia/<profile>/sip:<registered_user>@<ip>:<port>
Background:
I'm currenlty working on mod_snom to implement the KEYPRESS feature.
To do so, i need the ip of the user, 2 choices came on my mind:
1. use sofia_contact as suggested by Brian Foster and parse the output.
2. do a select network_ip from registrations where reg_user = 'xxxx'
sofia_contact looks better because i can pass the whole contact string from mod_callcenter using switch_api_execute without all the fiddling with domain, user, etc.
Thats why i'm interested in the structure.
ps: I created a feature request at snom to support notify talk last november, but still no response :(
-----Ursprüngliche Nachricht-----
Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Anthony Minessale
Gesendet: Montag, 30. Juli 2012 15:11
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] sofia_contact result
Depends on what you mean by rely?
On Mon, Jul 30, 2012 at 7:56 AM, Gerald Weber <gerald.weber at besharp.at> wrote:
> Hi,
>
>
>
> can i rely on the structure of the result string i get back from e.g.:
>
>
>
> freeswitch at default> sofia_contact 2000 (or sofia_contact user/2000)
>
> sofia/internal/sip:2000 at 192.168.20.219:5060
>
>
>
> thanks
>
> gw
>
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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-use
> rs
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list