[Freeswitch-users] media problem afet 302

Miha miha at softnet.si
Tue Dec 11 10:26:05 MSK 2012


Hi Michael,

thanks for your reply.

http://pastebin.freeswitch.com/20318

In pastebin I post full debug log from FS.

xxx.xxx.xxx.xxx is FS, yyy.yyy.yyy.yyy is SBC, aaa.aaa.aaa.aaa is SBC media.

 From phone (linksys) is called number 074901690, number is matched in 
dialplan, naptr look up is made and  on FS is checked if number is on 
FS, if not than number with 386+ nrn code (enum prefix) is send to sbc.
Sbc send call to a PBX where call is pick up (IVR, call is set up with 
g711u). On other side (innovaphone pbx) ivr tells you which number to 
use so that you will be redirected to different group of people.

I dial 1, which do in pbx 302 redirect and send phone call to outside 
(mobile carrier). When this is made pbx send new sdp invite to FS, to 
change codect to g711a, which FS refuse and send not acceptable.

Michael I also send you on private trace which was mad od FS and on SBC. 
I can send it also to someone, but I will prefer not to post it to user 
group as recently we are dealing with a loot of sip attacks.

BR,
Miha

Dne 12/10/2012 10:10 PM, pis(e Michael Collins:
> I highly doubt this is a bug in FreeSWITCH. It looks like you're 
> having codec mismatch problems. I can see a call starting with just 
> PCMU and also a call starting with just PCMA enabled. See lines 160 
> and 280, respectively.
>
> I doubt anyone can help without a full console debug log of all the 
> calls involved. We also would need to see an explanation of what each 
> call leg is supposed to be doing. Lastly it would be helpful to know 
> where the pcap was taken from, i.e. from FS or the SBC so that we know 
> the perspective of each point in the chart. I know you're trying to 
> obfuscate away IP addresses, however in doing so you've also made it 
> really hard for us to help you because we don't always know what is what.
>
> -MC
>
> On Mon, Dec 10, 2012 at 12:49 PM, Miha <miha at softnet.si 
> <mailto:miha at softnet.si>> wrote:
>
>     Hi,
>
>     can some pls help me:)
>
>     Is this maybe a bug and I should post to jira?
>
>     BR,
>     Miha
>
>     On Mon, 10 Dec 2012 15:13:04 +0100
>      Miha <miha at softnet.si <mailto:miha at softnet.si>> wrote:
>     > HI,
>     >
>     > here is a sip trace from FS.
>     >
>     > http://pastebin.freeswitch.org/20305
>     >
>     > xxx.xxx.xxx.xxx is FS, yyy.yyy.yyy.yyy is SBC,
>     > aaa.aaa.aaa.aaa SBC media :)
>     >
>     > thanks for help!
>     >
>     > Miha
>     >
>     > Dne 12/10/2012 10:52 AM, pis(e Avi Marcus:
>     > >
>     > > Uploading the actual wirrshark file (don't attach) will
>     > likely help someone diagnose this easier.
>     > >
>     > > -Avi
>     > >
>     > >> On Dec 10, 2012 11:24 AM, "Miha" <miha at softnet.si
>     <mailto:miha at softnet.si>
>     > <mailto:miha at softnet.si <mailto:miha at softnet.si>>> wrote:
>     > >>
>     > >> Hi,
>     > >>
>     > >> Scenario:
>     > >>
>     > >> fs ----> SBC---> innovaphone pbx
>     > >>
>     > >> calls goes throught and media is ok (g711u). When on
>     > other side (innovaphone pbx) someone do a 302 redirect
>     > innovaphone sends a sdb request in which prepose g711u,
>     > FS trys with g711u and send back not accabtable and media
>     > does not work.
>     > >>
>     > >> In attachment I am sending jpg of wireshark.
>     > >>
>     > >> >From left to right: FS, SBC, SBC MEDIA (on different
>     > ip than sbc).
>     > >>
>     > >> How to deal with this?
>     > >>
>     > >> Thanks!
>     > >> Miha
>     > >>
>     > >>
>     >
>     _________________________________________________________________________
>     > >> Professional FreeSWITCH Consulting Services:
>     > >> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     > <mailto:consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>>
>     > >> http://www.freeswitchsolutions.com
>     > >>
>     > >> FreeSWITCH-powered IP PBX: The CudaTel Communication
>     > Server
>     > >> 
>     > >>
>     > >> Official FreeSWITCH Sites
>     > >> http://www.freeswitch.org
>     > >> http://wiki.freeswitch.org
>     > >> http://www.cluecon.com
>     > >>
>     > >> FreeSWITCH-users mailing list
>     > >> FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     > <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     > >>
>     > >
>     > >
>     > >
>     >
>     _________________________________________________________________________
>     > > Professional FreeSWITCH Consulting Services:
>     > > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     > > http://www.freeswitchsolutions.com
>     > >
>     > > FreeSWITCH-powered IP PBX: The CudaTel Communication
>     > Server
>     > > 
>     > >
>     > > Official FreeSWITCH Sites
>     > > http://www.freeswitch.org
>     > > http://wiki.freeswitch.org
>     > > http://www.cluecon.com
>     > >
>     > > FreeSWITCH-users mailing list
>     > > FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     >
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>
>
>
>
> -- 
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
>
> _________________________________________________________________________
> 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
>
> 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/20121211/52fffa64/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list