Re: [SR-Users] how to bridge two landline users

2017-10-23 Thread Daniel-Constantin Mierla
Hello,


On 12.10.17 12:30, 赵国杰 wrote:
> Hello,
>     In a standard sip flow, the call goes like: sip user A -->
> kamailio --> pstn --> landline user B. However, when user A has a bad
> internet access, the audio is broken. So what I want is to let sip
> user A send a invite to kamailio first, then kamailio send invite to
> user A and B's landline number through pstn, then bridge the two call
> together. 
>     I understand this can be achieved by using FREESWITCH originate
> and bridge command. I've tried but there's no audio both ways, which
> really makes me feel stupid of myself. So I'm wondering if this can be
> done with kamailio? If so, how?
kamailio cannot bridge a call like freeswitch does, because kamailio
doesn't handle media stream.

The only option that you can do in kamailio to connect two phones is to
rely on REFER for doing a call transfer. See dialog module and dlg
bridge feature from there, maybe it is enough for what you want to achieve.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] how to bridge two landline users

2017-10-12 Thread 赵国杰
Hello,
In a standard sip flow, the call goes like: sip user A --> kamailio --> 
pstn --> landline user B. However, when user A has a bad internet access, the 
audio is broken. So what I want is to let sip user A send a invite to kamailio 
first, then kamailio send invite to user A and B's landline number through 
pstn, then bridge the two call together. 
I understand this can be achieved by using FREESWITCH originate and bridge 
command. I've tried but there's no audio both ways, which really makes me feel 
stupid of myself. So I'm wondering if this can be done with kamailio? If so, 
how?


Thanks
Jesse___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users